summaryrefslogtreecommitdiff
path: root/chat/i2cbd/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'chat/i2cbd/patches/patch-ad')
-rw-r--r--chat/i2cbd/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/chat/i2cbd/patches/patch-ad b/chat/i2cbd/patches/patch-ad
new file mode 100644
index 00000000000..59824a9631c
--- /dev/null
+++ b/chat/i2cbd/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2004/12/30 11:10:22 agc Exp $
+
+--- src/msgs.c 2004/12/30 11:06:20 1.1
++++ src/msgs.c 2004/12/30 11:06:33
+@@ -207,7 +207,7 @@
+ access_file = open(ACCESS_FILE, O_RDONLY);
+ if (access_file >= 0) {
+ while ((i = read(access_file, &c, 1)) > 0) {
+- if (isspace(c)) {
++ if (isspace((unsigned char)c)) {
+ ucaseit(three);
+ if (!fnmatch(three, one, 0)) {
+ snprintf(line, LINE_SIZE, "Login refused for %s", one);