summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-01-08 19:27:52 +0100
committerxengineering <me@xengineering.eu>2023-01-08 19:47:32 +0100
commit4b09fdb813de813ad82742edd0655724f187bb2f (patch)
tree148d50ac9ed89436f4d8e244841441ba1d205cac
parent62ea56e48aa4026fe7f7f91d528d433220a87be7 (diff)
downloadlimox-4b09fdb813de813ad82742edd0655724f187bb2f.tar
limox-4b09fdb813de813ad82742edd0655724f187bb2f.tar.zst
limox-4b09fdb813de813ad82742edd0655724f187bb2f.zip
Remove commented code
-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);
-// }
-// }
}