[or-cvs] fix spacing
arma at seul.org
arma at seul.org
Thu Jun 15 22:59:09 UTC 2006
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
directory.c dns.c
Log Message:
fix spacing
Index: directory.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.373
retrieving revision 1.374
diff -u -p -d -r1.373 -r1.374
--- directory.c 15 Jun 2006 22:52:56 -0000 1.373
+++ directory.c 15 Jun 2006 22:59:07 -0000 1.374
@@ -1664,7 +1664,8 @@ directory_handle_command_get(connection_
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_
tor_free(new_directory);
}
-
/* we didn't recognize the url */
write_http_status_line(conn, 404, "Not found");
tor_free(url);
Index: dns.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/dns.c,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -p -d -r1.191 -r1.192
--- dns.c 12 Jun 2006 11:59:19 -0000 1.191
+++ dns.c 15 Jun 2006 22:59:07 -0000 1.192
@@ -1099,7 +1099,8 @@ eventdns_callback(int result, char type,
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));
More information about the tor-commits
mailing list