aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-10 20:29:52 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-10 20:29:52 +0000
commit17f3d2807d23937d5ce9f2bff2fd74b7ab6aee90 (patch)
treec0c7daa0aeaa78be59ec0e116b7e7cff5a3f248e
parentdace37aee84501f26842a021e63f1b2e5a304643 (diff)
downloadtor-17f3d2807d23937d5ce9f2bff2fd74b7ab6aee90.tar
tor-17f3d2807d23937d5ce9f2bff2fd74b7ab6aee90.tar.gz
r15660@catbus: nickm | 2007-10-10 16:25:09 -0400
Fix compilation on last patch. svn:r11853
-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 f1d534943..f41513ca6 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;