summaryrefslogtreecommitdiff
path: root/dist/ipf/lib/icmpcode.c
diff options
context:
space:
mode:
authorhe <he@NetBSD.org>2004-11-13 18:43:49 +0000
committerhe <he@NetBSD.org>2004-11-13 18:43:49 +0000
commit76d82c7f1f2c8277646d6065e594e3dca7cf4c30 (patch)
treef76dccaaf9e484d4c52f46a44462c8d6a6b65645 /dist/ipf/lib/icmpcode.c
parentdd5a52f76de5d1e272e1499854682c7c3652ab95 (diff)
Revert previous, paving the way for Darren's cleaner patch.
Diffstat (limited to 'dist/ipf/lib/icmpcode.c')
-rw-r--r--dist/ipf/lib/icmpcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/ipf/lib/icmpcode.c b/dist/ipf/lib/icmpcode.c
index d1254d05550..89ac4f509e6 100644
--- a/dist/ipf/lib/icmpcode.c
+++ b/dist/ipf/lib/icmpcode.c
@@ -1,4 +1,4 @@
-/* $NetBSD: icmpcode.c,v 1.2 2004/11/13 15:18:41 he Exp $ */
+/* $NetBSD: icmpcode.c,v 1.3 2004/11/13 18:44:43 he Exp $ */
/*
* Copyright (C) 1993-2001 by Darren Reed.
@@ -34,7 +34,7 @@ char *str;
if ((s = strrchr(str, ')')))
*s = '\0';
- if (isdigit((unsigned char)*str)) {
+ if (isdigit(*str)) {
if (!ratoi(str, &i, 0, 255))
return -1;
else