summaryrefslogtreecommitdiff
path: root/comms/fidogate/patches/patch-bd
blob: ee3dc1103f1500e4e23263f3b39e0862aaa02256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bd,v 1.1 2005/12/29 23:31:36 joerg Exp $

--- src/gate/ftn2rfc.c.orig	2005-12-30 00:24:28.000000000 +0100
+++ src/gate/ftn2rfc.c
@@ -272,7 +272,7 @@ int check_valid_domain(char *s)
 	return FALSE;
     while(*s)
     {
-	if(!isalnum(*s) && *s!='-' && *s!='.')
+	if(!isalnum((unsigned char)*s) && *s!='-' && *s!='.')
 	    return FALSE;
 	s++;
     }