summaryrefslogtreecommitdiff
path: root/comms/fidogate/patches/patch-be
diff options
context:
space:
mode:
Diffstat (limited to 'comms/fidogate/patches/patch-be')
-rw-r--r--comms/fidogate/patches/patch-be13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/fidogate/patches/patch-be b/comms/fidogate/patches/patch-be
new file mode 100644
index 00000000000..caf981223a6
--- /dev/null
+++ b/comms/fidogate/patches/patch-be
@@ -0,0 +1,13 @@
+$NetBSD: patch-be,v 1.1 2005/12/29 23:31:36 joerg Exp $
+
+--- src/gate/rfc2ftn.c.orig 2005-12-30 00:26:00.000000000 +0100
++++ src/gate/rfc2ftn.c
+@@ -619,7 +619,7 @@ void cvt_user_name(char *s)
+ * capitalized. If no '_' chars are found, '.' are converted to
+ * spaces (User.Name@p.f.n.z.fidonet.org addressing style).
+ */
+- convert_flag = isupper(*s) ? -1 : 1;
++ convert_flag = isupper((unsigned char)*s) ? -1 : 1;
+ us_flag = strchr(s, '_') || strchr(s, ' ') || strchr(s, '@');
+
+ for(; *s; s++) {