summaryrefslogtreecommitdiff
path: root/src/lib/net
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2020-01-06 20:20:38 -0800
committerNeel Chauhan <neel@neelc.org>2020-01-06 20:20:38 -0800
commitee015d36f8dc67c5f021f76b0c23183c9b5d5a01 (patch)
treed1f2386ad62b6e35135f4d24595327b5034deb79 /src/lib/net
parent1b63eea66cbb8793a3cff05de8d856ce3b93fc17 (diff)
downloadtor-ee015d36f8dc67c5f021f76b0c23183c9b5d5a01.tar.gz
tor-ee015d36f8dc67c5f021f76b0c23183c9b5d5a01.zip
Space the a-d unsigned ints 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 a655ca6ad8..0e738884ef 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;