View | Details | Raw Unified | Return to bug 32695
Collapse All | Expand All

(-)gtk-gnutella/Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	gtk-gnutella
8
PORTNAME=	gtk-gnutella
9
PORTVERSION=	0.18
9
PORTVERSION=	0.18
10
PORTREVISION=	1
10
CATEGORIES=	net
11
CATEGORIES=	net
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
12
		http://gtk-gnutella.sourceforge.net/download/ \
13
		http://gtk-gnutella.sourceforge.net/download/ \
(-)gtk-gnutella/files/patch-search.c (+20 lines)
Line 0 Link Here
1
--- src/search.c.orig	Thu Dec  6 23:52:35 2001
2
+++ src/search.c	Fri Dec  7 00:05:49 2001
3
@@ -13,6 +13,7 @@
4
 #include "dialog-filters.h"
5
 #include "routing.h"
6
 #include "autodownload.h"
7
+#include "hosts.h"
8
 
9
 #define MAKE_CODE(a,b,c,d) ( \
10
 	((guint32) (a) << 24) | \
11
@@ -1258,7 +1259,8 @@
12
 		if (
13
 			sch->items >= search_max_results ||
14
 			search_result_is_dup(sch, rc) ||
15
-			!filter_record(sch, rc)
16
+			!filter_record(sch, rc) ||
17
+			!check_valid_host(rc->results_set->ip,6346)
18
 		) {
19
 			rs->records = g_slist_remove(rs->records, rc);
20
 			rs->num_recs--;

Return to bug 32695