From 60d52a7e08cde87fb07e60a1c97cc104f1eb254a Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 6 Aug 2003 18:38:46 +0000 Subject: patch to let poll() recognize eof on more architectures svn:r372 --- src/or/main.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/or/main.c b/src/or/main.c index 5c6f3386e..5853fd6ce 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -274,7 +274,8 @@ static void conn_read(int i) { connection_free(conn); if(i 0) { /* we have at least one connection to deal with */ /* do all the reads first, so we can detect closed sockets */ for(i=0;i