diff options
author | Roger Dingledine <arma@torproject.org> | 2006-06-15 22:59:07 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-06-15 22:59:07 +0000 |
commit | af0e47c921f619a21032bacf5b98f4664bbb29f3 (patch) | |
tree | 97fb95ac9633bce4d6f79ea2deaab00078c4e13b /src/or/directory.c | |
parent | bc64becd12dd7c65e2d160f32bfd54327c1c2db6 (diff) | |
download | tor-af0e47c921f619a21032bacf5b98f4664bbb29f3.tar tor-af0e47c921f619a21032bacf5b98f4664bbb29f3.tar.gz |
fix spacing
svn:r6628
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index dfcd9c477..c68e526e4 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1664,7 +1664,8 @@ directory_handle_command_get(connection_t *conn, char *headers, format_rfc1123_time(date, time(NULL)); tor_snprintf(tmp, sizeof(tmp), "HTTP/1.0 200 OK\r\nDate: %s\r\nContent-Length: %d\r\n" - "Content-Type: text/plain\r\nContent-Encoding: identity\r\n\r\n", + "Content-Type: text/plain\r\n" + "Content-Encoding: identity\r\n\r\n", date, (int)dlen); connection_write_to_buf(tmp, strlen(tmp), conn); @@ -1672,7 +1673,6 @@ directory_handle_command_get(connection_t *conn, char *headers, tor_free(new_directory); } - /* we didn't recognize the url */ write_http_status_line(conn, 404, "Not found"); tor_free(url); |