From c8ea8ec6748e030e00ba8b4a4ee0d58c58a87b1c Mon Sep 17 00:00:00 2001 From: sotech117 Date: Thu, 21 Sep 2023 04:52:03 -0400 Subject: small improvments --- client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 74a3f5d..083526f 100644 --- a/client.c +++ b/client.c @@ -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); } -- cgit v1.2.3-70-g09d2