From 5e3edd47fef9a4b8c12be3af24fa79ac40be4687 Mon Sep 17 00:00:00 2001 From: epoch Date: Wed, 5 Feb 2020 23:56:56 -0600 Subject: forgot to set stdout to linebuffered in nonblocktail --- src/nonblocktail.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/nonblocktail.c b/src/nonblocktail.c index 8b99e64..329f01d 100644 --- a/src/nonblocktail.c +++ b/src/nonblocktail.c @@ -11,6 +11,7 @@ void handler(struct shit *me,char *line) { int main(int argc,char *argv[]) { int i; + setvbuf(stdout,NULL,_IOLBF,0); for(i=0;i<100;i++) { idc.fds[i].fd=-1; } -- cgit v1.2.3