aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-09-27 06:57:16 +0000
committerRoger Dingledine <arma@torproject.org>2004-09-27 06:57:16 +0000
commitd0edf8e8b50528f2d36c6949b5b47dd31300e67b (patch)
tree9c9013bd3ddcf13dd00f72499794a3f9641d6be1 /src/or/or.h
parent6e7e880438354d7c47f2a131143dc0f8baf70e6a (diff)
downloadtor-d0edf8e8b50528f2d36c6949b5b47dd31300e67b.tar
tor-d0edf8e8b50528f2d36c6949b5b47dd31300e67b.tar.gz
fix two bugs with cached directories:
- don't complain that you won't cache it, then cache it anyway. - change confusing terminology from 'deflate' to 'compress', so we'll stop getting our logic backwards. i assume the rfc author has shot himself by now. svn:r2382
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index c1d00d3f0..06986f732 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1184,7 +1184,7 @@ void dirserv_remove_old_servers(int age);
int dirserv_dump_directory_to_string(char *s, unsigned int maxlen,
crypto_pk_env_t *private_key);
void directory_set_dirty(void);
-size_t dirserv_get_directory(const char **cp, int deflate);
+size_t dirserv_get_directory(const char **cp, int compress);
size_t dirserv_get_runningrouters(const char **rr);
void dirserv_set_cached_directory(const char *directory, time_t when);