summaryrefslogtreecommitdiff
path: root/chat/i2cb/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'chat/i2cb/patches/patch-aj')
-rw-r--r--chat/i2cb/patches/patch-aj11
1 files changed, 10 insertions, 1 deletions
diff --git a/chat/i2cb/patches/patch-aj b/chat/i2cb/patches/patch-aj
index 9838b07c778..5b0d1802e43 100644
--- a/chat/i2cb/patches/patch-aj
+++ b/chat/i2cb/patches/patch-aj
@@ -1,4 +1,4 @@
-$NetBSD: patch-aj,v 1.1 2003/02/05 15:44:22 dmcmahill Exp $
+$NetBSD: patch-aj,v 1.2 2004/12/30 11:05:04 agc Exp $
--- src/serverlist.c.orig Wed Mar 15 17:13:29 2000
+++ src/serverlist.c
@@ -10,3 +10,12 @@ $NetBSD: patch-aj,v 1.1 2003/02/05 15:44:22 dmcmahill Exp $
#include <pwd.h>
#include <sys/param.h>
#include <sys/types.h>
+@@ -138,7 +139,7 @@
+
+ index = 0;
+
+- while (line[index] && isspace(line[index]))
++ while (line[index] && isspace((unsigned char)line[index]))
+ ++index;
+
+ if (!line[index] || line[index] == '#')