diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-08 21:01:24 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-08 21:01:24 +0000 |
commit | 4528bbfd9f68eb7537f0b130336ef6023a6270ce (patch) | |
tree | a664eb8f5c7ff768245ab83b8167e1cf10852388 /src/or/directory.c | |
parent | c523e106b54bab147014bccb56207c0c6d31d5de (diff) | |
download | tor-4528bbfd9f68eb7537f0b130336ef6023a6270ce.tar.gz tor-4528bbfd9f68eb7537f0b130336ef6023a6270ce.zip |
Resolve some XXXs. Add some others.
svn:r4947
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 74167694b9..7f65c13f82 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1161,8 +1161,6 @@ directory_handle_command_get(connection_t *conn, char *headers, if (!smartlist_len(dir_objs)) { /* we failed to create/cache cp */ write_http_status_line(conn, 503, "Network status object unavailable"); smartlist_free(dir_objs); - /* try to get a new one now */ - // XXXX NM return 0; } dlen = 0; @@ -1213,7 +1211,7 @@ directory_handle_command_get(connection_t *conn, char *headers, *cp++ = '\n'; }); *cp = '\0'; - /* XXXX This could be way more efficiently handled. */ + /* XXXX NM This could be way more efficiently handled. */ if (tor_gzip_compress(&compressed, &compressed_len, inp, cp-inp, ZLIB_METHOD)<0) { tor_free(cp); |