projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5df535b
)
Fix an off-by-one in an error message about connect failures
author
Fabian Keil
<fk@fabiankeil.de>
Sat, 10 Dec 2011 17:26:30 +0000
(17:26 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sat, 10 Dec 2011 17:26:30 +0000
(17:26 +0000)
jbsockets.c
patch
|
blob
|
history
diff --git
a/jbsockets.c
b/jbsockets.c
index
eb54706
..
6ff9b3c
100644
(file)
--- a/
jbsockets.c
+++ b/
jbsockets.c
@@
-1,4
+1,4
@@
-const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.1
09 2011/09/04 11:10:5
6 fabiankeil Exp $";
+const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.1
10 2011/11/18 23:53:2
6 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $
@@
-168,7
+168,7
@@
jb_socket connect_to(const char *host, int portnum, struct client_state *csp)
{
log_error(LOG_LEVEL_ERROR,
"Attempt %d of %d to connect to %s failed. Trying again.",
{
log_error(LOG_LEVEL_ERROR,
"Attempt %d of %d to connect to %s failed. Trying again.",
- forwarded_connect_retries, csp->config->forwarded_connect_retries, host);
+ forwarded_connect_retries, csp->config->forwarded_connect_retries
+ 1
, host);
}
} while (forwarded_connect_retries < csp->config->forwarded_connect_retries);
}
} while (forwarded_connect_retries < csp->config->forwarded_connect_retries);