note a bug that adam found

svn:r2150
This commit is contained in:
Roger Dingledine 2004-08-06 02:27:06 +00:00
parent 3b00c950c2
commit 1d41c0ee35

View File

@ -743,6 +743,7 @@ static int generate_runningrouters(crypto_pk_env_t *private_key)
/** Set *<b>rr</b> to the most recently generated encoded signed /** Set *<b>rr</b> to the most recently generated encoded signed
* running-routers list, generating a new one as necessary. */ * running-routers list, generating a new one as necessary. */
size_t dirserv_get_runningrouters(const char **rr) 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 (runningrouters_is_dirty) {
if(generate_runningrouters(get_identity_key())) { if(generate_runningrouters(get_identity_key())) {