diff options
author | Roger Dingledine <arma@torproject.org> | 2006-07-20 23:33:11 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-07-20 23:33:11 +0000 |
commit | 97a14b201865834ad08055fbf8f9d0091d28689e (patch) | |
tree | 6371fd126b1cfb068aa22ad44afb740d2ebccde8 | |
parent | 8930468582b466157f496952e888ff8c3afa6e2d (diff) | |
download | tor-97a14b201865834ad08055fbf8f9d0091d28689e.tar.gz tor-97a14b201865834ad08055fbf8f9d0091d28689e.zip |
tweak
svn:r6795
-rw-r--r-- | src/or/connection.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 23782f6735..f3c4eea534 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -640,8 +640,7 @@ connection_handle_listener_read(connection_t *conn, int new_type) memset(addrbuf, 0, sizeof(addrbuf)); news = accept(conn->s,(struct sockaddr *)&addrbuf,&remotelen); - if (news < 0) { - /* accept() error */ + if (news < 0) { /* accept() error */ int e = tor_socket_errno(conn->s); if (ERRNO_IS_ACCEPT_EAGAIN(e)) { return 0; /* he hung up before we could accept(). that's fine. */ |