diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-18 11:34:43 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-18 11:34:43 +0100 |
commit | 8684cbb5cc2c461e3795fba19ad7386db37cf499 (patch) | |
tree | 027d4aa55cfa710769c86c2aca838fbba3e3dbe9 /networking | |
parent | 5b0a7f1a6e66af3f1ff4159d4eb96c30517782b8 (diff) | |
download | busybox-8684cbb5cc2c461e3795fba19ad7386db37cf499.tar.gz |
libbb: robustify isXXXX(). +39 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/inetd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/networking/inetd.c b/networking/inetd.c index 391bb9ba6..a45573396 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -1475,9 +1475,8 @@ static void init_ring(void) int i; end_ring = ring; - for (i = 0; i <= 128; ++i) - if (isprint(i)) - *end_ring++ = i; + for (i = ' '; i < 127; i++) + *end_ring++ = i; } /* Character generator. MMU arches only. */ /* ARGSUSED */ |