From d0edf8e8b50528f2d36c6949b5b47dd31300e67b Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 27 Sep 2004 06:57:16 +0000 Subject: 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 --- src/or/or.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/or.h') diff --git a/src/or/or.h b/src/or/or.h index c1d00d3f0e..06986f7327 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); -- cgit v1.2.3-54-g00ecf