tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit b062e0f0a4046724e349b92a3edf79141320422e
parent 01c6fde3265752f8e91084f5d1dd4788a96d8de9
Author: Neel Chauhan <neel@neelc.org>
Date:   Fri, 20 Dec 2019 14:11:03 -0500

Fix spacing in tor_sscanf() call in tor_inet_aton()

Diffstat:
Msrc/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 @@ -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;