[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit ee015d36f8dc67c5f021f76b0c23183c9b5d5a01
Author: Neel Chauhan <neel@xxxxxxxxx>
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;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits