blob: 5b0d1802e4380ab6645d45694cb09ab1c035cc7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-aj,v 1.2 2004/12/30 11:05:04 agc Exp $
--- src/serverlist.c.orig Wed Mar 15 17:13:29 2000
+++ src/serverlist.c
@@ -1,6 +1,7 @@
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <pwd.h>
#include <sys/param.h>
#include <sys/types.h>
@@ -138,7 +139,7 @@
index = 0;
- while (line[index] && isspace(line[index]))
+ while (line[index] && isspace((unsigned char)line[index]))
++index;
if (!line[index] || line[index] == '#')
|