projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e4bb29e
)
get_reusable_connection(): Fix format specifier in a log message
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 11:41:04 +0000
(13:41 +0200)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 11 Sep 2020 14:35:40 +0000
(16:35 +0200)
gateway.c
patch
|
blob
|
history
diff --git
a/gateway.c
b/gateway.c
index
a805a8f
..
6721953
100644
(file)
--- a/
gateway.c
+++ b/
gateway.c
@@
-493,7
+493,7
@@
static jb_socket get_reusable_connection(const struct http_request *http,
reusable_connection[slot].in_use = TRUE;
sfd = reusable_connection[slot].sfd;
log_error(LOG_LEVEL_CONNECT,
reusable_connection[slot].in_use = TRUE;
sfd = reusable_connection[slot].sfd;
log_error(LOG_LEVEL_CONNECT,
- "Found reusable socket %d for %s:%d in slot %d. Timestamp made %d "
+ "Found reusable socket %d for %s:%d in slot %d. Timestamp made %
l
d "
"seconds ago. Timeout: %d. Latency: %d. Requests served: %d",
sfd, reusable_connection[slot].host, reusable_connection[slot].port,
slot, time(NULL) - reusable_connection[slot].timestamp,
"seconds ago. Timeout: %d. Latency: %d. Requests served: %d",
sfd, reusable_connection[slot].host, reusable_connection[slot].port,
slot, time(NULL) - reusable_connection[slot].timestamp,