summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-03-04 20:11:46 +0000
committerNick Mathewson <nickm@torproject.org>2007-03-04 20:11:46 +0000
commit7fcceb2c25b3abdbe4c775607a0d157e9d578318 (patch)
tree3cd8ded357187a9fd9379c8174db99b4ea58cd94 /src/or/main.c
parent654924dfdfdf2c602d524f10be2628cfbfc5b877 (diff)
downloadtor-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/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 8594080a97..3df1650925 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -422,7 +422,7 @@ conn_read_callback(int fd, short event, void *_conn)
if (connection_handle_read(conn) < 0) {
if (!conn->marked_for_close) {
#ifndef MS_WINDOWS
- log_warn(LD_BUG,"Bug: unhandled error on read for %s connection "
+ log_warn(LD_BUG,"Unhandled error on read for %s connection "
"(fd %d); removing",
conn_type_to_string(conn->type), conn->s);
tor_fragile_assert();
@@ -456,7 +456,7 @@ conn_write_callback(int fd, short events, void *_conn)
if (!conn->marked_for_close) {
/* this connection is broken. remove it. */
log_fn(LOG_WARN,LD_BUG,
- "Bug: unhandled error on write for %s connection (fd %d); removing",
+ "unhandled error on write for %s connection (fd %d); removing",
conn_type_to_string(conn->type), conn->s);
tor_fragile_assert();
if (CONN_IS_EDGE(conn)) {