summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2015-02-06 21:36:40 +0100
committerSebastian Hahn <sebastian@torproject.org>2015-02-06 21:36:40 +0100
commite0c3de40ad557be4ed059e93695391e44aa7a16c (patch)
treefa73cf11b71a2c70fc67bd9d9a9c7c08ff67da16 /src/or/connection.c
parent6d8b614729bc8011d68a7234a81190ec11f6cd5f (diff)
downloadtor-e0c3de40ad557be4ed059e93695391e44aa7a16c.tar.gz
tor-e0c3de40ad557be4ed059e93695391e44aa7a16c.zip
Fix check-spaces complaints
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 0ce4f72209..79ae178a56 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1601,7 +1601,6 @@ connection_init_accepted_conn(connection_t *conn,
return 0;
}
-
static int
connection_connect_sockaddr(connection_t *conn,
const struct sockaddr *sa,
@@ -1688,11 +1687,10 @@ connection_connect_sockaddr(connection_t *conn,
*socket_error = SOCK_ERRNO(ENOBUFS);
return -1;
}
- return inprogress ? 0 : 1;
+ return inprogress ? 0 : 1;
}
-
/** Take conn, make a nonblocking socket; try to connect to
* addr:port (they arrive in *host order*). If fail, return -1 and if
* applicable put your best guess about errno into *<b>socket_error</b>.