diff options
author | Roger Dingledine <arma@torproject.org> | 2006-04-01 22:00:49 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-04-01 22:00:49 +0000 |
commit | 6fb27741ba2c02ca94804ef763647c8966886434 (patch) | |
tree | c5fba2160212d572295127ee5ef6e911ae641a86 /src/or/or.h | |
parent | e754664d620bf5aad76aa713b53299560497ac91 (diff) | |
download | tor-6fb27741ba2c02ca94804ef763647c8966886434.tar.gz tor-6fb27741ba2c02ca94804ef763647c8966886434.zip |
Fix dirserv_get_networkstatus_v2's api: its function comments
did not at all match its behavior, and I can't think of a case
when it should return anything other than 0.
This fix may allow getinfo dir/status/foo to work.
svn:r6285
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h index 1e97bdf9ed..b466762f5c 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1924,7 +1924,7 @@ void dirserv_set_cached_directory(const char *directory, time_t when, void dirserv_set_cached_networkstatus_v2(const char *directory, const char *identity, time_t published); -int dirserv_get_networkstatus_v2(smartlist_t *result, const char *key); +void dirserv_get_networkstatus_v2(smartlist_t *result, const char *key); int dirserv_get_routerdescs(smartlist_t *descs_out, const char *key, const char **msg); void dirserv_orconn_tls_done(const char *address, |