[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] note a bug that adam found
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
dirserv.c
Log Message:
note a bug that adam found
Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/src/or/dirserv.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- dirserv.c 3 Aug 2004 23:57:05 -0000 1.70
+++ dirserv.c 6 Aug 2004 02:27:06 -0000 1.71
@@ -743,6 +743,7 @@
/** Set *<b>rr</b> to the most recently generated encoded signed
* running-routers list, generating a new one as necessary. */
size_t dirserv_get_runningrouters(const char **rr)
+/* XXX008 Bug: size_t is unsigned, but we're returning -1 to mean error */
{
if (runningrouters_is_dirty) {
if(generate_runningrouters(get_identity_key())) {