[or-cvs] backport patch from pre1:
Roger Dingledine
arma at seul.org
Wed Oct 13 21:25:00 UTC 2004
Update of /home2/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/0081/src/or
Modified Files:
Tag: tor-0_0_8-patches
connection.c
Log Message:
backport patch from pre1:
fix a bug in OutboundBindAddress
Index: connection.c
===================================================================
RCS file: /home2/or/cvsroot/src/or/connection.c,v
retrieving revision 1.250
retrieving revision 1.250.2.1
diff -u -d -r1.250 -r1.250.2.1
--- connection.c 17 Aug 2004 07:09:02 -0000 1.250
+++ connection.c 13 Oct 2004 21:24:54 -0000 1.250.2.1
@@ -493,7 +493,7 @@
log_fn(LOG_WARN,"Outbound bind address '%s' didn't parse. Ignoring.",
options.OutboundBindAddress);
} else {
- if(bind(s, (struct sockaddr*)&ext_addr, sizeof(ext_addr) < 0)) {
+ if(bind(s, (struct sockaddr*)&ext_addr, sizeof(ext_addr)) < 0) {
log_fn(LOG_WARN,"Error binding network socket: %s",
tor_socket_strerror(tor_socket_errno(s)));
return -1;
More information about the tor-commits
mailing list