fix typo in comment

This commit is contained in:
Roger Dingledine 2017-08-07 00:22:27 -04:00
parent ce07b4dd91
commit 2032b9b1b1

View File

@ -2619,7 +2619,7 @@ tor_inet_pton(int af, const char *src, void *dst)
long r = strtol(src, &next, 16);
if (next == NULL || next == src) {
/* The 'next == src' error case can happen on versions of openbsd
* where treats "0xfoo" as an error, rather than as "0" followed by
* which treat "0xfoo" as an error, rather than as "0" followed by
* "xfoo". */
return 0;
}