Path: blob/main/net-im/centerim/files/patch-libjabber-jconn.c
16124 views
--- libjabber/jconn.c.orig 2011-05-23 01:06:31.000000000 +04001+++ libjabber/jconn.c 2014-01-21 07:29:07.642848274 +04002@@ -824,7 +824,7 @@3free(hash);4close(sock);5close(fd_file);6- return;7+ return NULL;8}910recv( sock, buff, SEND_BUF, 0 );11@@ -833,7 +833,7 @@12free(hash);13close(sock);14close(fd_file);15- return;16+ return NULL;17}1819//socks5 bytestream packet20@@ -851,7 +851,7 @@21free(hash);22close(sock);23close(fd_file);24- return;25+ return NULL;26}27recv( sock, buff, 47, 0 );28if( buff[0] != 0x05 || buff[3] != 0x03 )29@@ -859,7 +859,7 @@30free(hash);31close(sock);32close(fd_file);33- return;34+ return NULL;35}363738@@ -889,6 +889,7 @@394041#endif42+ return NULL;43}444546@@ -961,5 +962,6 @@4748pthread_exit(0);49#endif50-51+52+ return NULL;53}545556