Created
November 29, 2012 14:34
-
-
Save stephenrjohnson/4169467 to your computer and use it in GitHub Desktop.
centerim patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ./libjabber/jconn.c.orig 2012-11-29 14:31:36.000000000 +0000 | |
+++ ./libjabber/jconn.c 2012-11-29 14:32:16.000000000 +0000 | |
@@ -824,7 +824,7 @@ | |
free(hash); | |
close(sock); | |
close(fd_file); | |
- return; | |
+ return NULL; | |
} | |
recv( sock, buff, SEND_BUF, 0 ); | |
@@ -833,7 +833,7 @@ | |
free(hash); | |
close(sock); | |
close(fd_file); | |
- return; | |
+ return NULL; | |
} | |
//socks5 bytestream packet | |
@@ -851,7 +851,7 @@ | |
free(hash); | |
close(sock); | |
close(fd_file); | |
- return; | |
+ return NULL; | |
} | |
recv( sock, buff, 47, 0 ); | |
if( buff[0] != 0x05 || buff[3] != 0x03 ) | |
@@ -859,7 +859,7 @@ | |
free(hash); | |
close(sock); | |
close(fd_file); | |
- return; | |
+ return NULL; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment