summaryrefslogtreecommitdiffstats
path: root/ipv4_scan.c
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-12-06 01:39:33 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-12-06 01:39:33 +0100
commit6533e74370acfa51653608b1dc5e1292c72970c9 (patch)
treedbd3b13cb10df6f341a82a5a449fcf5a4b9d9b66 /ipv4_scan.c
parenta583bb24fb23728c9c4ed6c6c573d526ab654c49 (diff)
downloadcrypto-6533e74370acfa51653608b1dc5e1292c72970c9.zip
crypto-6533e74370acfa51653608b1dc5e1292c72970c9.tar.gz
remove extra spaces
Diffstat (limited to 'ipv4_scan.c')
-rw-r--r--ipv4_scan.c2
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;