summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-01-30 06:08:42 +0000
committerRoger Dingledine <arma@torproject.org>2005-01-30 06:08:42 +0000
commitcab0138e4ca3f41eb3946d588c3055cf2a3d3566 (patch)
tree25b035a35b6670e797f17807aee2d59c74f2c230 /src/or/directory.c
parentdba507ef4b4af0e601b0cc63e04d5566003c809d (diff)
downloadtor-cab0138e4ca3f41eb3946d588c3055cf2a3d3566.tar.gz
tor-cab0138e4ca3f41eb3946d588c3055cf2a3d3566.zip
give a better log message when we don't have a good mirror of
the directory yet and somebody asks for it. svn:r3464
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index e4a5d15553..1742500251 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -874,7 +874,7 @@ directory_handle_command_get(connection_t *conn, char *headers,
tor_free(url);
if (dlen == 0) {
- log_fn(LOG_NOTICE,"My directory is empty. Closing.");
+ log_fn(LOG_NOTICE,"Client asked for the mirrored directory, but we don't have a good one yet. Sending 503 Dir not available.");
write_http_status_line(conn, 503, "Directory unavailable");
return 0;
}