summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-11-14 03:45:48 +0000
committerNick Mathewson <nickm@torproject.org>2006-11-14 03:45:48 +0000
commitad1f019110435944bb5a29931a17b0bcb74e6db7 (patch)
tree2afe7fcd8d8fab74bb9ef31a461848e36bbe1f8c /src/or/directory.c
parentd6cc235eba9496a51873c74bcfad25946340d3be (diff)
downloadtor-ad1f019110435944bb5a29931a17b0bcb74e6db7.tar.gz
tor-ad1f019110435944bb5a29931a17b0bcb74e6db7.zip
r9317@totoro: nickm | 2006-11-13 22:45:33 -0500
Fix some more mipspro warnings. Nothing should remain excecpt "conversion from pointer to same-sized integral type." svn:r8950
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 274e644ec2..6d52e7029d 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -907,6 +907,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
"we are %d seconds skewed. (That's okay.)", delta);
}
}
+ (void) skewed; /* skewed isn't used yet. */
if (status_code == 503) {
log_info(LD_DIR,"Received http status code %d (%s) from server "
@@ -1576,6 +1577,7 @@ directory_handle_command_get(dir_connection_t *conn, char *headers,
return 0;
}
// note_request(request_type,dlen);
+ (void) request_type;
write_http_response_header(conn, -1,
deflated?"application/octet_stream":"text/plain",
deflated?"deflate":NULL,
@@ -1622,6 +1624,7 @@ directory_handle_command_get(dir_connection_t *conn, char *headers,
} else {
request_type = "/tor/server/?";
}
+ (void) request_type; /* usable for note_request. */
if (!strcmpstart(url, "/tor/server/d/"))
conn->dir_spool_src = DIR_SPOOL_SERVER_BY_DIGEST;
else