aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-09-23 21:50:01 +0000
committersotech117 <michael_foiani@brown.edu>2023-09-23 21:50:01 +0000
commit236b54df92a81f71db95e76141660a69fa1079e2 (patch)
treeef42f9451234c0c54fa272fa8743284177b97a67
parentb5f967167c1dd80b2845874f0fc704a5c4838005 (diff)
flushing stdout
-rw-r--r--client.c1
-rwxr-xr-xsnowcast_controlbin14416 -> 18592 bytes
2 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c
index 083526f..fe6695d 100644
--- a/client.c
+++ b/client.c
@@ -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);
diff --git a/snowcast_control b/snowcast_control
index a934032..48df5df 100755
--- a/snowcast_control
+++ b/snowcast_control
Binary files differ