From cd19325154b3e7526c729fe44de90daf21b786e6 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 6 Aug 2003 18:38:46 +0000 Subject: [PATCH] patch to let poll() recognize eof on more architectures svn:r372 --- trunk/src/or/main.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/trunk/src/or/main.c b/trunk/src/or/main.c index 5c6f3386ee..5853fd6cea 100644 --- a/trunk/src/or/main.c +++ b/trunk/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