mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Fix compile warning in tor_inet_pton() (on 64bit)
This slipped through into 0.2.3.8-alpha unfortunately.
This commit is contained in:
parent
f067067ee6
commit
46d69cb915
4
changes/bug4554
Normal file
4
changes/bug4554
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes:
|
||||
- Fix a compile warning in tor_inet_pton(). Bugfix on 0.2.3.8-alpha;
|
||||
fixes bug 4554.
|
||||
|
@ -1733,7 +1733,7 @@ tor_inet_pton(int af, const char *src, void *dst)
|
||||
return 0;
|
||||
if (TOR_ISXDIGIT(*src)) {
|
||||
char *next;
|
||||
int len;
|
||||
ssize_t len;
|
||||
long r = strtol(src, &next, 16);
|
||||
tor_assert(next != NULL);
|
||||
tor_assert(next != src);
|
||||
|
Loading…
Reference in New Issue
Block a user