mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge branch 'tor-github/pr/1237'
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
o Minor bugfixes (logging):
|
||||
- Fix a code issue that would have broken our parsing of log
|
||||
domains as soon as we had 33 of them. Fortunately, we still
|
||||
only have 29. Fixes bug 31451; bugfix on 0.4.1.4-rc.
|
||||
+1
-1
@@ -1285,7 +1285,7 @@ parse_log_domain(const char *domain)
|
||||
int i;
|
||||
for (i=0; domain_list[i]; ++i) {
|
||||
if (!strcasecmp(domain, domain_list[i]))
|
||||
return (1u<<i);
|
||||
return (UINT64_C(1)<<i);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user