summaryrefslogtreecommitdiff
path: root/src/lib/net/inaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/net/inaddr.c')
-rw-r--r--src/lib/net/inaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/net/inaddr.c b/src/lib/net/inaddr.c
index 79529c047d..a655ca6ad8 100644
--- a/src/lib/net/inaddr.c
+++ b/src/lib/net/inaddr.c
@@ -39,7 +39,7 @@ tor_inet_aton(const char *str, struct in_addr *addr)
{
unsigned a,b,c,d;
char more;
- if (tor_sscanf(str, "%3u.%3u.%3u.%3u%c", &a,&b,&c,&d,&more) != 4)
+ if (tor_sscanf(str, "%3u.%3u.%3u.%3u%c", &a, &b, &c, &d, &more) != 4)
return 0;
if (a > 255) return 0;
if (b > 255) return 0;