]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
tweak
authorRoger Dingledine <arma@torproject.org>
Thu, 20 Jul 2006 23:33:11 +0000 (23:33 +0000)
committerRoger Dingledine <arma@torproject.org>
Thu, 20 Jul 2006 23:33:11 +0000 (23:33 +0000)
svn:r6795

src/or/connection.c

index 23782f6735d3610769b2fe014609b801a4a51ff4..f3c4eea534da542542f90a9f6a509a162fb592bd 100644 (file)
@@ -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. */