Fix spacing in tor_sscanf() call in tor_inet_aton()

This commit is contained in:
Neel Chauhan 2019-12-20 14:11:03 -05:00
parent 01c6fde326
commit b062e0f0a4

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