mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Move a paren 4 characters to the left; fix a bug in OutboundBindAddress
svn:r2330
This commit is contained in:
parent
ecf414f05e
commit
9836ccda8c
@ -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.",
|
log_fn(LOG_WARN,"Outbound bind address '%s' didn't parse. Ignoring.",
|
||||||
options.OutboundBindAddress);
|
options.OutboundBindAddress);
|
||||||
} else {
|
} 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",
|
log_fn(LOG_WARN,"Error binding network socket: %s",
|
||||||
tor_socket_strerror(tor_socket_errno(s)));
|
tor_socket_strerror(tor_socket_errno(s)));
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user