From 4b09fdb813de813ad82742edd0655724f187bb2f Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 8 Jan 2023 19:27:52 +0100 Subject: Remove commented code --- xmpp.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/xmpp.c b/xmpp.c index dcf19a5..fb9fc68 100644 --- a/xmpp.c +++ b/xmpp.c @@ -174,19 +174,4 @@ int xmpp_connect(void) printf("Stream init sent.\n"); return sock; - -// printf("This is the server response:\n"); -// char buf; -// while(1) { -// int retval = recv(sock, (void *)&buf, 1, 0); -// if (retval == 0) { -// printf("Connection closed!\n"); -// break; -// } else if (retval == 1) { -// write(1, (const void *)&buf, 1); -// } else { -// printf(strerror(errno)); -// printf("Unhandled recv() return value %d!\n", retval); -// } -// } } -- cgit v1.2.3-70-g09d2