diff options
| author | he <he@NetBSD.org> | 2004-11-13 18:43:49 +0000 |
|---|---|---|
| committer | he <he@NetBSD.org> | 2004-11-13 18:43:49 +0000 |
| commit | 76d82c7f1f2c8277646d6065e594e3dca7cf4c30 (patch) | |
| tree | f76dccaaf9e484d4c52f46a44462c8d6a6b65645 /dist/ipf/lib/icmpcode.c | |
| parent | dd5a52f76de5d1e272e1499854682c7c3652ab95 (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.c | 4 |
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 |
