aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-08-06 02:27:06 +0000
committerRoger Dingledine <arma@torproject.org>2004-08-06 02:27:06 +0000
commit1d41c0ee35bf252f9680b30d476fc037da607b2e (patch)
tree706b703a9e75abfd9736a64187ab54ea2857c067 /src/or/dirserv.c
parent3b00c950c2d3d997190e99c2de24a23818a6e730 (diff)
downloadtor-1d41c0ee35bf252f9680b30d476fc037da607b2e.tar
tor-1d41c0ee35bf252f9680b30d476fc037da607b2e.tar.gz
note a bug that adam found
svn:r2150
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index f76a01a8e..c2d3d8472 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -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
* 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())) {