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

(-)ctrlproxy/Makefile (+1 lines)
Lines 8-13 Link Here
8
8
9
PORTNAME=	ctrlproxy
9
PORTNAME=	ctrlproxy
10
PORTVERSION=	3.0.7
10
PORTVERSION=	3.0.7
11
PORTREVISION=	1
11
CATEGORIES=	irc
12
CATEGORIES=	irc
12
MASTER_SITES=	http://www.ctrlproxy.org/releases/ \
13
MASTER_SITES=	http://www.ctrlproxy.org/releases/ \
13
		LOCAL/chinsan/ctrlproxy/
14
		LOCAL/chinsan/ctrlproxy/
(-)ctrlproxy/files/patch-lib_connection.c (+15 lines)
Added Link Here
1
2
$FreeBSD$
3
4
--- lib/connection.c.orig
5
+++ lib/connection.c
6
@@ -467,7 +467,8 @@
7
 	if (error) {
8
 		network_log(LOG_ERROR, s, "Unable to lookup %s:%s %s", 
9
 					cs->host, cs->port, gai_strerror(error));
10
-		freeaddrinfo(addrinfo);
11
+		if(addrinfo)
12
+			freeaddrinfo(addrinfo);
13
 		return FALSE;
14
 	}
15

Return to bug 126846