[or-cvs] tweak

arma at seul.org arma at seul.org
Thu Jul 20 23:33:14 UTC 2006


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	connection.c 
Log Message:
tweak


Index: connection.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection.c,v
retrieving revision 1.458
retrieving revision 1.459
diff -u -p -d -r1.458 -r1.459
--- connection.c	6 Jul 2006 02:44:05 -0000	1.458
+++ connection.c	20 Jul 2006 23:33:11 -0000	1.459
@@ -640,8 +640,7 @@ connection_handle_listener_read(connecti
   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. */



More information about the tor-commits mailing list