[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] reverse the logic, captain
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
main.c
Log Message:
reverse the logic, captain
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/src/or/main.c,v
retrieving revision 1.242
retrieving revision 1.243
diff -u -d -r1.242 -r1.243
--- main.c 18 Apr 2004 06:35:31 -0000 1.242
+++ main.c 18 Apr 2004 06:42:13 -0000 1.243
@@ -307,7 +307,7 @@
connection_t *conn = connection_array[i];
if(conn->type == CONN_TYPE_DIR &&
- conn->timestamp_created + 5*60 > now) {
+ conn->timestamp_created + 5*60 < now) {
log_fn(LOG_INFO,"Expiring wedged directory conn (purpose %d)", conn->purpose);
connection_mark_for_close(conn,0);
return;