summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-06-15 04:23:36 +0000
committerRoger Dingledine <arma@torproject.org>2007-06-15 04:23:36 +0000
commit6a2f045163e7583fd41318cd8f0e4d321c937fee (patch)
tree9795d6389791fffa886ebf4ff09a6524c6f5a278 /src/or/directory.c
parent73f7310d9b7fdca11278b139336a0671be1ee883 (diff)
downloadtor-6a2f045163e7583fd41318cd8f0e4d321c937fee.tar.gz
tor-6a2f045163e7583fd41318cd8f0e4d321c937fee.zip
extra points for making the function name reflect what it does
svn:r10608
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 546b7e2cc3..7084c163e1 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1804,7 +1804,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
smartlist_free(dir_fps);
return 0;
}
- if (dirserv_statuses_are_old(dir_fps, if_modified_since)) {
+ if (dirserv_remove_old_statuses(dir_fps, if_modified_since)) {
write_http_status_line(conn, 304, "Not modified");
/* no need to free dir_fps's elements, since
* dirserv_statuses_are_old() already did. */