$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);
