summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-16 16:41:45 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-16 16:41:45 +0000
commit6d15a735485203f90640187a630c04003012e8aa (patch)
tree2b4b873d8d89c9eca7ed4e07136eada3c178c5ac /src/or/directory.c
parentcce469c5ce73f113e16fecb3823918da004ab3ba (diff)
downloadtor-6d15a735485203f90640187a630c04003012e8aa.tar.gz
tor-6d15a735485203f90640187a630c04003012e8aa.zip
Resolve/expand some XXXXs and improve a log message or two
svn:r5082
Diffstat (limited to 'src/or/directory.c')
-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 259794e088..4212f9b823 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -994,7 +994,6 @@ connection_dir_client_reached_eof(connection_t *conn)
if (conn->purpose == DIR_PURPOSE_FETCH_SERVERDESC) {
smartlist_t *which = NULL;
int n_asked_for = 0;
- /* XXXX NM implement this. */
log_fn(LOG_INFO,"Received server info (size %d) from server '%s:%d'",
(int)body_len, conn->address, conn->port);
if (status_code != 200) {
@@ -1318,7 +1317,8 @@ directory_handle_command_get(connection_t *conn, char *headers,
*cp++ = '\n';
});
*cp = '\0';
- /* XXXX NM This could be way more efficiently handled. */
+ /* XXXX This could be way more efficiently handled; let's see if it
+ * shows up under oprofile. */
if (tor_gzip_compress(&compressed, &compressed_len,
inp, cp-inp, ZLIB_METHOD)<0) {
tor_free(inp);