diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-03-04 20:11:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-03-04 20:11:46 +0000 |
commit | 7fcceb2c25b3abdbe4c775607a0d157e9d578318 (patch) | |
tree | 3cd8ded357187a9fd9379c8174db99b4ea58cd94 /src/or/directory.c | |
parent | 654924dfdfdf2c602d524f10be2628cfbfc5b877 (diff) | |
download | tor-7fcceb2c25b3abdbe4c775607a0d157e9d578318.tar.gz tor-7fcceb2c25b3abdbe4c775607a0d157e9d578318.zip |
r12074@catbus: nickm | 2007-03-04 15:11:43 -0500
Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.)
svn:r9733
Diffstat (limited to 'src/or/directory.c')
-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 72e57114de..5188fa3ccc 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -597,7 +597,7 @@ directory_send_command(dir_connection_t *conn, if (strlen(proxystring) + strlen(url) >= 4096) { log_warn(LD_BUG, - "Bug: squid does not like URLs longer than 4095 bytes, this " + "Squid does not like URLs longer than 4095 bytes, this " "one is %d bytes long: %s%s", (int)(strlen(proxystring) + strlen(url)), proxystring, url); } @@ -1362,7 +1362,7 @@ write_http_status_line(dir_connection_t *conn, int status, char buf[256]; if (tor_snprintf(buf, sizeof(buf), "HTTP/1.0 %d %s\r\n\r\n", status, reason_phrase) < 0) { - log_warn(LD_BUG,"Bug: status line too long."); + log_warn(LD_BUG,"status line too long."); return; } connection_write_to_buf(buf, strlen(buf), TO_CONN(conn)); @@ -1966,7 +1966,7 @@ connection_dir_finished_flushing(dir_connection_t *conn) connection_mark_for_close(TO_CONN(conn)); return 0; default: - log_warn(LD_BUG,"Bug: called in unexpected state %d.", + log_warn(LD_BUG,"called in unexpected state %d.", conn->_base.state); tor_fragile_assert(); return -1; |