[or-cvs] If we are a directory, we should trust ourself.
Nick Mathewson
nickm at seul.org
Wed Jun 2 20:15:37 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv3573/src/or
Modified Files:
router.c
Log Message:
If we are a directory, we should trust ourself.
Index: router.c
===================================================================
RCS file: /home/or/cvsroot/src/or/router.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- router.c 20 May 2004 02:42:50 -0000 1.44
+++ router.c 2 Jun 2004 20:15:35 -0000 1.45
@@ -433,6 +433,8 @@
log_fn(LOG_WARN, "Couldn't dump router to string.");
return -1;
}
+ if (ri->dir_port)
+ ri->is_trusted_dir = 1;
return 0;
}
More information about the tor-commits
mailing list