[tor-commits] [tor/master] Space the a-d unsigned ints in tor_inet_aton()

nickm at torproject.org nickm at torproject.org
Tue Jan 7 13:59:47 UTC 2020


commit ee015d36f8dc67c5f021f76b0c23183c9b5d5a01
Author: Neel Chauhan <neel at neelc.org>
Date:   Mon Jan 6 20:20:38 2020 -0800

    Space the a-d unsigned ints in tor_inet_aton()
---
 src/lib/net/inaddr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/net/inaddr.c b/src/lib/net/inaddr.c
index a655ca6ad..0e738884e 100644
--- a/src/lib/net/inaddr.c
+++ b/src/lib/net/inaddr.c
@@ -37,7 +37,7 @@
 int
 tor_inet_aton(const char *str, struct in_addr *addr)
 {
-  unsigned a,b,c,d;
+  unsigned a, b, c, d;
   char more;
   if (tor_sscanf(str, "%3u.%3u.%3u.%3u%c", &a, &b, &c, &d, &more) != 4)
     return 0;





More information about the tor-commits mailing list