From: Nick Mathewson Date: Thu, 2 Sep 2004 23:25:23 +0000 (+0000) Subject: Move a paren 4 characters to the left; fix a bug in OutboundBindAddress X-Git-Tag: tor-0.0.9pre1~74 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9836ccda8c12f4127afaba69f31187fb42320cfe;p=thirdparty%2Ftor.git Move a paren 4 characters to the left; fix a bug in OutboundBindAddress svn:r2330 --- diff --git a/src/or/connection.c b/src/or/connection.c index 8866ddbb48..bb8e762e58 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -493,7 +493,7 @@ int connection_connect(connection_t *conn, char *address, uint32_t addr, uint16_ 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;