summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index bb74011..5946a8c 100644
--- a/main.c
+++ b/main.c
@@ -77,7 +77,7 @@ int main(int argc, char *argv[])
return -1;
}
- setvbuf(stream_g, NULL, _IONBF, 0);
+ setvbuf(stream_g, NULL, _IOLBF, BUFSIZ);
int sock = bind_socket((argc < 2) ? 4333 : atoi(argv[1]));