diff options
-rw-r--r-- | xmpp.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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); -// } -// } } |