line flushing is default

This commit is contained in:
buffet 2019-04-13 15:30:28 +02:00
parent 41fe4c26ae
commit 3da91f59ea

View file

@ -60,9 +60,6 @@ main(int argc, char **argv)
int c; int c;
while ((c = getc(socket_file)) != EOF) { while ((c = getc(socket_file)) != EOF) {
putchar(c); putchar(c);
if (c == '\n') {
fflush(stdout);
}
} }
fclose(socket_file); fclose(socket_file);