Space the a-d unsigned ints in tor_inet_aton()

This commit is contained in:
Neel Chauhan 2020-01-06 20:20:38 -08:00
parent 1b63eea66c
commit ee015d36f8

View File

@ -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;