pkgsrc/net/3proxy/patches/patch-aa
apb b23719f865 Add net/3proxy version 0.5.3k. This is a multi-protocol proxy that
can be configured to chain to other proxies.
2008-02-27 16:14:25 +00:00

13 lines
441 B
Text

$NetBSD: patch-aa,v 1.1 2008/02/27 16:14:25 apb Exp $
--- src/3proxy.c.orig 2007-04-20 13:05:10.000000000 +0200
+++ src/3proxy.c
@@ -1276,7 +1276,7 @@ int readconfig(FILE * fp){
tl->comment = mystrdup((char *)ch->argv[1]);
- while(isdigit(*tl->comment))tl->comment++;
+ while(isdigit((unsigned char)*tl->comment))tl->comment++;
if(*tl->comment== '/')tl->comment++;
sscanf((char *)ch->argv[1], "%u", &tl->number);