diff options
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -84,7 +84,6 @@ int main(int argc, char *argv[]) inet_ntop(p->ai_family, get_in_addr((struct sockaddr *)p->ai_addr), s, sizeof s); - // printf("client: connecting to %s\n", s); freeaddrinfo(servinfo); // all done with this structure @@ -107,7 +106,6 @@ int main(int argc, char *argv[]) // CONSIDER: could recieve the welcome message here - char input[LINE_MAX]; printf("Enter a number to change to it's station. Click q to end stream.\n"); while (1) { @@ -202,7 +200,7 @@ void *reply_thread_routine(void* args) { exit(1); } - printf("Lost connection to server. Exiting."); + printf("Lost connection to server. Exiting.\n"); close(sockfd); exit(1); } |