aboutsummaryrefslogtreecommitdiff
path: root/src/lib/net
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2019-12-20 14:11:03 -0500
committerNeel Chauhan <neel@neelc.org>2019-12-20 14:11:03 -0500
commitb062e0f0a4046724e349b92a3edf79141320422e (patch)
tree51b32826f4baed2156623362eb907abb7372a942 /src/lib/net
parent01c6fde3265752f8e91084f5d1dd4788a96d8de9 (diff)
downloadtor-b062e0f0a4046724e349b92a3edf79141320422e.tar.gz
tor-b062e0f0a4046724e349b92a3edf79141320422e.zip
Fix spacing in tor_sscanf() call in tor_inet_aton()
Diffstat (limited to 'src/lib/net')
-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;