]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
bugfix: when our poll is interrupted, we believed the revents values.
authorRoger Dingledine <arma@torproject.org>
Wed, 17 Nov 2004 20:26:39 +0000 (20:26 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 17 Nov 2004 20:26:39 +0000 (20:26 +0000)
svn:r2907

src/or/main.c

index c3de91c886e9cbb2f0328e25b27494b35598a0a3..b93ee6e30c3ee905c5e6c5538b65fc8d4ff1cfd1 100644 (file)
@@ -862,6 +862,9 @@ static int do_main_loop(void) {
         return -1;
       } else {
         log_fn(LOG_DEBUG,"poll interrupted.");
+        /* You can't trust the results of this poll(). Go back to the
+         * top of the big for loop. */
+        continue;
       }
     }