mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix compiler warning on 64 bit archs
svn:r5903
This commit is contained in:
+1
-1
@@ -581,7 +581,7 @@ directory_send_command(connection_t *conn, const char *platform,
|
||||
}
|
||||
|
||||
if (strlen(proxystring) + strlen(url) >= 4096) {
|
||||
warn(LD_BUG,"Bug: squid does not like URLs longer than 4095 bytes, this one is %d bytes long: %s%s", strlen(proxystring) + strlen(url), proxystring, url);
|
||||
warn(LD_BUG,"Bug: squid does not like URLs longer than 4095 bytes, this one is %d bytes long: %s%s", (int)(strlen(proxystring) + strlen(url)), proxystring, url);
|
||||
}
|
||||
|
||||
tor_snprintf(request, sizeof(request), "%s %s", httpcommand, proxystring);
|
||||
|
||||
Reference in New Issue
Block a user