mirror of
https://github.com/0intro/conterm
synced 2024-11-21 21:31:23 +03:00
cleanup suggested by Geoff Collyer
This commit is contained in:
parent
7211f00b30
commit
6fb8584800
@ -448,7 +448,7 @@ oserrstr(void)
|
|||||||
long
|
long
|
||||||
showfilewrite(char *a, int n)
|
showfilewrite(char *a, int n)
|
||||||
{
|
{
|
||||||
Rune *action, *arg, *cmd, *p;
|
Rune *action, *arg, *cmd;
|
||||||
static Rune Lopen[] = { 'o', 'p', 'e', 'n', 0 };
|
static Rune Lopen[] = { 'o', 'p', 'e', 'n', 0 };
|
||||||
|
|
||||||
cmd = runesmprint("%.*s", n, a);
|
cmd = runesmprint("%.*s", n, a);
|
||||||
|
@ -1199,7 +1199,7 @@ msgClear(Msg *m)
|
|||||||
|
|
||||||
switch(m->tag) {
|
switch(m->tag) {
|
||||||
default:
|
default:
|
||||||
sysfatal("msgClear: unknown message type: %d\n", m->tag);
|
sysfatal("msgClear: unknown message type: %d", m->tag);
|
||||||
case HHelloRequest:
|
case HHelloRequest:
|
||||||
break;
|
break;
|
||||||
case HClientHello:
|
case HClientHello:
|
||||||
|
Loading…
Reference in New Issue
Block a user