summaryrefslogtreecommitdiff
path: root/xmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp.c')
-rw-r--r--xmpp.c15
1 files changed, 0 insertions, 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);
-// }
-// }
}