diff options
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 6 |
1 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; } |