diff options
author | Peter Palfrader <peter@palfrader.org> | 2005-10-18 14:57:46 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2005-10-18 14:57:46 +0000 |
commit | 64a631e1870a37feaba6eda0964b38088251d8f0 (patch) | |
tree | 406cdb501455bbcdf56f3f28c32b0d6b129b0a86 | |
parent | 0186cb283fd5e25b93d884343d3ba7b41db8b6ce (diff) | |
download | tor-64a631e1870a37feaba6eda0964b38088251d8f0.tar tor-64a631e1870a37feaba6eda0964b38088251d8f0.tar.gz |
Some http status lines ended in a dot, others did not. Make it all the same and remove the period from all
svn:r5270
-rw-r--r-- | src/or/directory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 0086a695e..b36fa2a58 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1332,7 +1332,7 @@ directory_handle_command_get(connection_t *conn, char *headers, dirserv_get_routerdescs(descs, url); tor_free(url); if (!smartlist_len(descs)) { - write_http_status_line(conn, 404, "Servers unavailable."); + write_http_status_line(conn, 404, "Servers unavailable"); } else { size_t len = 0; format_rfc1123_time(date, time(NULL)); @@ -1395,7 +1395,7 @@ directory_handle_command_get(connection_t *conn, char *headers, * if we're gone to the site recently, and 404 if we haven't. * * Reject. */ - write_http_status_line(conn, 400, "Nonauthoritative directory does not not store rendezvous descriptors."); + write_http_status_line(conn, 400, "Nonauthoritative directory does not not store rendezvous descriptors"); tor_free(url); return 0; } @@ -1445,7 +1445,7 @@ directory_handle_command_post(connection_t *conn, char *headers, if (!authdir_mode(get_options())) { /* we just provide cached directories; we don't want to * receive anything. */ - write_http_status_line(conn, 400, "Nonauthoritative directory does not accept posted server descriptors."); + write_http_status_line(conn, 400, "Nonauthoritative directory does not accept posted server descriptors"); return 0; } |