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/dns.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/dns.c')
-rw-r--r-- | src/or/dns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 47f833c4be..0a6dcfb882 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -848,7 +848,7 @@ dns_cancel_pending_resolve(const char *address) if (!resolve->pending_connections) { /* XXX this should never trigger, but sometimes it does */ log_warn(LD_BUG, - "Bug: Address %s is pending but has no pending connections!", + "Address %s is pending but has no pending connections!", escaped_safe_str(address)); tor_fragile_assert(); return; @@ -1165,7 +1165,7 @@ connection_dns_process_inbuf(connection_t *conn) if (conn->state != DNSWORKER_STATE_BUSY && buf_datalen(conn->inbuf)) { log_warn(LD_BUG, - "Bug: read data (%d bytes) from an idle dns worker (fd %d, " + "read data (%d bytes) from an idle dns worker (fd %d, " "address %s). Please report.", (int)buf_datalen(conn->inbuf), conn->s, escaped_safe_str(conn->address)); tor_fragile_assert(); @@ -1680,7 +1680,7 @@ launch_resolve(edge_connection_t *exitconn, or_circuit_t *circ) : DNS_QUERY_NO_SEARCH; /* What? Nameservers not configured? Sounds like a bug. */ if (!nameservers_configured) { - log_warn(LD_EXIT, "Harmless bug: nameservers not configured, but resolve " + log_warn(LD_EXIT, "(Harmless.) Nameservers not configured, but resolve " "launched. Configuring."); if (configure_nameservers(1) < 0) return -1; |