mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Space the a-d unsigned ints in tor_inet_aton()
This commit is contained in:
parent
1b63eea66c
commit
ee015d36f8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user