From f53316b0beb3bd15c4860092080e8f711f0e5e78 Mon Sep 17 00:00:00 2001 From: couderc Date: Sat, 10 Jan 2004 22:27:07 +0000 Subject: [PATCH] update to 2.0.7 --- net/xchat2/patches/patch-src_common_dcc_c | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 net/xchat2/patches/patch-src_common_dcc_c diff --git a/net/xchat2/patches/patch-src_common_dcc_c b/net/xchat2/patches/patch-src_common_dcc_c deleted file mode 100644 index 1d00e298eb0..00000000000 --- a/net/xchat2/patches/patch-src_common_dcc_c +++ /dev/null @@ -1,22 +0,0 @@ -$OpenBSD: patch-src_common_dcc_c,v 1.1 2003/12/14 21:25:38 margarida Exp $ ---- src/common/dcc.c.orig 2003-11-28 03:06:57.000000000 +0000 -+++ src/common/dcc.c 2003-12-14 20:33:44.000000000 +0000 -@@ -1659,9 +1659,15 @@ handle_dcc (struct session *sess, char * - * sending file. - */ - dcc = find_dcc_from_id (pasvid, TYPE_SEND); -- dcc->addr = addr; -- dcc->port = port; -- dcc_connect(dcc); -+ if (dcc) -+ { -+ dcc->addr = addr; -+ dcc->port = port; -+ dcc_connect (dcc); -+ } else -+ { -+ dcc_malformed (sess, nick, word_eol[4] + 2); -+ } - return; - } -