summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-rw-r--r--src/or/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index f1d534943a..f41513ca6d 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2369,10 +2369,10 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
goto keys_done;
}
SMARTLIST_FOREACH(certs, authority_cert_t *, c,
- if (cert->cache_info.published_on < if_modified_since)
+ if (c->cache_info.published_on < if_modified_since)
SMARTLIST_DEL_CURRENT(certs, c));
if (!smartlist_len(certs)) {
- write_status_line(conn, 304, "Not modified");
+ write_http_status_line(conn, 304, "Not modified");
goto keys_done;
}
len = 0;