[or-cvs] Move a paren 4 characters to the left; fix a bug in Outboun...

Nick Mathewson nickm at seul.org
Thu Sep 2 23:25:25 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv6716/src/or

Modified Files:
	connection.c 
Log Message:
Move a paren 4 characters to the left; fix a bug in OutboundBindAddress

Index: connection.c
===================================================================
RCS file: /home/or/cvsroot/src/or/connection.c,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -d -r1.250 -r1.251
--- connection.c	17 Aug 2004 07:09:02 -0000	1.250
+++ connection.c	2 Sep 2004 23:25:23 -0000	1.251
@@ -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