aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-09-23 22:04:52 +0000
committersotech117 <michael_foiani@brown.edu>2023-09-23 22:04:52 +0000
commit9dfb0307da9afb888f9a122399ab87633eb2c3ab (patch)
tree6dfff1d4c26a8533e17d7e9608dcac48c35c198c
parentc9b0771b8052039106ccf6346b8d39c8a8167622 (diff)
print type of station?
-rw-r--r--client.c2
-rwxr-xr-xsnowcast_controlbin14416 -> 14376 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 06d7024..3792ba9 100644
--- a/client.c
+++ b/client.c
@@ -155,7 +155,7 @@ void *reply_thread_routine(void* args) {
exit(1);
}
num_stations = ntohs(num_stations);
- printf("Welcome to Snowcast! The server has %d stations.\n", num_stations);
+ printf("Welcome to Snowcast! The server has %u stations.\n", num_stations);
printf("Enter a number to change to it's station. Click q to end stream.\n");
continue;
}
diff --git a/snowcast_control b/snowcast_control
index 2ea8f55..9499ab7 100755
--- a/snowcast_control
+++ b/snowcast_control
Binary files differ