[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Move a paren 4 characters to the left; fix a bug in Outboun...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Move a paren 4 characters to the left; fix a bug in Outboun...
- From: nickm@seul.org (Nick Mathewson)
- Date: Thu, 2 Sep 2004 19:25:25 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Thu, 02 Sep 2004 19:25:42 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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;