diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-08-28 10:23:05 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-28 10:23:05 -0400 |
commit | 4b4b3afb569a40db99c1614bc83d835b0a23fe27 (patch) | |
tree | 0ab5237ed2bd79a06d0610eae3d9880a82c6c102 /src/common/util.c | |
parent | 5b8956df3b3bc4593c0372703cfb07d75b4fc15e (diff) | |
parent | b88d00fea35630d96bf91bda362922af43730a04 (diff) | |
download | tor-4b4b3afb569a40db99c1614bc83d835b0a23fe27.tar.gz tor-4b4b3afb569a40db99c1614bc83d835b0a23fe27.zip |
Merge branch 'bug22802_squashed'
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common/util.c b/src/common/util.c index eff678d6a4..31d42a3e5c 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1233,15 +1233,7 @@ tor_parse_uint64(const char *s, int base, uint64_t min, #ifdef HAVE_STRTOULL r = (uint64_t)strtoull(s, &endptr, base); #elif defined(_WIN32) -#if defined(_MSC_VER) && _MSC_VER < 1300 - tor_assert(base <= 10); - r = (uint64_t)_atoi64(s); - endptr = (char*)s; - while (TOR_ISSPACE(*endptr)) endptr++; - while (TOR_ISDIGIT(*endptr)) endptr++; -#else r = (uint64_t)_strtoui64(s, &endptr, base); -#endif #elif SIZEOF_LONG == 8 r = (uint64_t)strtoul(s, &endptr, base); #else |