line flushing is default
This commit is contained in:
parent
41fe4c26ae
commit
3da91f59ea
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue