summaryrefslogtreecommitdiff
path: root/chat/i2cb/patches/patch-au
blob: 36c2bdce0fd4e5a965210a024fdf65dc7ebf9f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-au,v 1.1 2004/12/30 11:05:04 agc Exp $

--- src/msgs.c	2004/12/30 10:57:53	1.1
+++ src/msgs.c	2004/12/30 10:58:14
@@ -322,7 +322,7 @@
 	putl(mbuf, PL_ALL);
 
 	for 	(index = 0;
-		pkt[index] && (!isspace(pkt[index])) && (index < MAX_NICKLEN);
+		pkt[index] && (!isspace((unsigned char)pkt[index])) && (index < MAX_NICKLEN);
 	 	++index)
 	{
 		nick[index]=pkt[index];