aboutsummaryrefslogtreecommitdiff
path: root/net/gaim-openq/files/patch-src-udp_proxy_s5.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/gaim-openq/files/patch-src-udp_proxy_s5.c')
-rw-r--r--net/gaim-openq/files/patch-src-udp_proxy_s5.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/net/gaim-openq/files/patch-src-udp_proxy_s5.c b/net/gaim-openq/files/patch-src-udp_proxy_s5.c
deleted file mode 100644
index af25e25f2301..000000000000
--- a/net/gaim-openq/files/patch-src-udp_proxy_s5.c
+++ /dev/null
@@ -1,32 +0,0 @@
---- src/udp_proxy_s5.c.orig Sat Oct 2 17:48:12 2004
-+++ src/udp_proxy_s5.c Sat Oct 16 18:35:59 2004
-@@ -37,6 +37,7 @@
- struct PHB *phb = data;
- struct sockaddr_in sin;
- int len;
-+ int error = ETIMEDOUT;
-
- gaim_input_remove(phb->inpa);
- gaim_debug(GAIM_DEBUG_INFO, "socks5 proxy", "Able to read again.\n");
-@@ -85,7 +86,6 @@
- return;
- }
-
-- int error = ETIMEDOUT;
- gaim_debug(GAIM_DEBUG_INFO, "QQ", "Connect didn't block\n");
- len = sizeof(error);
- if (getsockopt(phb->udpsock, SOL_SOCKET, SO_ERROR, &error, &len) < 0) {
-@@ -216,11 +216,12 @@
- {
- unsigned char buf[512];
- struct PHB *phb = data;
-+ int ret;
-
- gaim_input_remove(phb->inpa);
- gaim_debug(GAIM_DEBUG_INFO, "socks5 proxy", "Able to read.\n");
-
-- int ret = read(source, buf, 2);
-+ ret = read(source, buf, 2);
- if (ret < 2) {
- gaim_debug(GAIM_DEBUG_INFO, "s5_canread", "packet smaller than 2 octet\n");
- close(source);