diff options
author | sotech117 <michael_foiani@brown.edu> | 2023-09-23 21:40:42 +0000 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2023-09-23 21:40:42 +0000 |
commit | b5f967167c1dd80b2845874f0fc704a5c4838005 (patch) | |
tree | 938262cf30d0e144ae22e4012a1323446d15d1e9 | |
parent | 0b479a1e8b702cf90caa7705a4008352645bb0a7 (diff) |
small changes
-rw-r--r-- | server.c | 6 | ||||
-rwxr-xr-x | snowcast_server | bin | 28720 -> 28720 bytes |
2 files changed, 3 insertions, 3 deletions
@@ -113,7 +113,7 @@ main(int argc, char *argv[]) } // make array of user data - printf("max active users: %d\n", sizeof(user_t) * max_active_users); + // printf("max active users: %d\n", sizeof(user_t) * max_active_users); user_data = malloc(sizeof(user_t) * max_active_users); if (!user_data) { perror("malloc userdata"); return 1; } sockfd_to_user = malloc(sizeof(int) * max_active_users); @@ -211,7 +211,7 @@ void *stream_routine_cleanup(void *arg) { void *stream_routine(void *arg) { int station_num = (int) arg; - printf("stream routine %d\n", station_num); + // printf("stream routine %d\n", station_num); int read_fd = stations[station_num].readfd; pthread_cleanup_push(stream_routine_cleanup, read_fd); @@ -283,7 +283,7 @@ int setup_stations(int argc, char *argv[]) { pthread_create(&stations[i].streamThread, NULL, stream_routine, i); } - printf("successfully created %d stations\n", num_stations); + // printf("successfully created %d stations\n", num_stations); return 1; } diff --git a/snowcast_server b/snowcast_server Binary files differindex c99b1c2..7516d88 100755 --- a/snowcast_server +++ b/snowcast_server |