forked from extern/endlessh
Make log messages line buffered
This commit is contained in:
parent
112e5b303f
commit
94aa40778c
@ -253,7 +253,8 @@ main(int argc, char **argv)
|
|||||||
port = tmp;
|
port = tmp;
|
||||||
break;
|
break;
|
||||||
case 'v':
|
case 'v':
|
||||||
loglevel++;
|
if (!loglevel++)
|
||||||
|
setvbuf(stdout, 0, _IOLBF, 0);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
usage(stderr);
|
usage(stderr);
|
||||||
|
Loading…
Reference in New Issue
Block a user