From: Roger Dingledine Date: Thu, 15 Jun 2006 22:59:07 +0000 (+0000) Subject: fix spacing X-Git-Tag: tor-0.1.1.23~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af0e47c921f619a21032bacf5b98f4664bbb29f3;p=thirdparty%2Ftor.git fix spacing svn:r6628 --- diff --git a/src/or/directory.c b/src/or/directory.c index dfcd9c4777..c68e526e44 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); diff --git a/src/or/dns.c b/src/or/dns.c index f5e2675db4..e9670b4a28 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -1099,7 +1099,8 @@ eventdns_callback(int result, char type, int count, int ttl, void *addresses, status = DNS_RESOLVE_SUCCEEDED; tor_inet_ntoa(&in, answer_buf, sizeof(answer_buf)); log_debug(LD_EXIT, "eventdns said that %s resolves to %s", - escaped_safe_str(string_address), escaped_safe_str(answer_buf)); + escaped_safe_str(string_address), + escaped_safe_str(answer_buf)); } else if (count) { log_warn(LD_EXIT, "eventdns returned only non-IPv4 answers for %s.", escaped_safe_str(string_address));