diff options
-rw-r--r-- | client.c | 4 | ||||
-rwxr-xr-x | snowcast_control | bin | 22384 -> 26608 bytes |
2 files changed, 4 insertions, 0 deletions
@@ -108,7 +108,9 @@ int main(int argc, char *argv[]) char input[LINE_MAX]; + fflush(stdout); 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); @@ -159,7 +161,9 @@ void *reply_thread_routine(void* args) { exit(1); } num_stations = ntohs(num_stations); + fflush(stdout); printf("Welcome to Snowcast! The server has %d stations.\n", num_stations); + fflush(stdout); continue; } diff --git a/snowcast_control b/snowcast_control Binary files differindex 5905ab1..264d8c3 100755 --- a/snowcast_control +++ b/snowcast_control |