diff options
author | sotech117 <michael_foiani@brown.edu> | 2023-09-23 21:50:01 +0000 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2023-09-23 21:50:01 +0000 |
commit | 236b54df92a81f71db95e76141660a69fa1079e2 (patch) | |
tree | ef42f9451234c0c54fa272fa8743284177b97a67 /client.c | |
parent | b5f967167c1dd80b2845874f0fc704a5c4838005 (diff) |
flushing stdout
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -108,6 +108,7 @@ int main(int argc, char *argv[]) char input[LINE_MAX]; printf("Enter a number to change to it's station. Click q to end stream.\n"); + fflush(stdout); while (1) { char *line = fgets(input, LINE_MAX, stdin); |