14 lines
362 B
Text
14 lines
362 B
Text
|
$NetBSD: patch-ak,v 1.1 2005/03/22 14:57:12 cube Exp $
|
||
|
|
||
|
--- src/net.c.orig 2005-03-20 18:11:02.000000000 +0100
|
||
|
+++ src/net.c
|
||
|
@@ -158,7 +158,7 @@ strcmp_net_name(NetMon *net1, NetMon *ne
|
||
|
gint n, n1, n2, len;
|
||
|
|
||
|
for (s = net1->name; *s; ++s)
|
||
|
- if (isdigit(*s))
|
||
|
+ if (isdigit((unsigned char)*s))
|
||
|
break;
|
||
|
if (!*s)
|
||
|
return strcmp(net1->name, net2->name);
|