From b5f967167c1dd80b2845874f0fc704a5c4838005 Mon Sep 17 00:00:00 2001 From: sotech117 Date: Sat, 23 Sep 2023 21:40:42 +0000 Subject: small changes --- server.c | 6 +++--- snowcast_server | Bin 28720 -> 28720 bytes 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server.c b/server.c index e45dc53..aed8904 100644 --- a/server.c +++ b/server.c @@ -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 index c99b1c2..7516d88 100755 Binary files a/snowcast_server and b/snowcast_server differ -- cgit v1.2.3-70-g09d2