diff options
Diffstat (limited to 'ipv4_scan.c')
-rw-r--r-- | ipv4_scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipv4_scan.c b/ipv4_scan.c index b4906c0..061692b 100644 --- a/ipv4_scan.c +++ b/ipv4_scan.c @@ -6,7 +6,7 @@ unsigned int ipv4_scan(const char *s,char ip[4]) unsigned int i; unsigned int len; unsigned long u; - + len = 0; i = scan_ulong(s,&u); if (!i) return 0; ip[0] = u; s += i; len += i; if (*s != '.') return 0; ++s; ++len; |