]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix spacing in tor_sscanf() call in tor_inet_aton()
authorNeel Chauhan <neel@neelc.org>
Fri, 20 Dec 2019 19:11:03 +0000 (14:11 -0500)
committerNeel Chauhan <neel@neelc.org>
Fri, 20 Dec 2019 19:11:03 +0000 (14:11 -0500)
src/lib/net/inaddr.c

index 79529c047d446491ebbbc30c5e711cf25ac98849..a655ca6ad82da681fc50ec18726f7b10a074c0cb 100644 (file)
@@ -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;