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/circuitbuild.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/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index f33074783e..bfcc5e3ff3 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -73,7 +73,7 @@ get_unique_circ_id_by_conn(or_connection_t *conn) tor_assert(conn); if (conn->circ_id_type == CIRC_ID_TYPE_NEITHER) { - log_warn(LD_BUG, "Bug: Trying to pick a circuit ID for a connection from " + log_warn(LD_BUG, "Trying to pick a circuit ID for a connection from " "a client with no identity."); return 0; } @@ -803,12 +803,12 @@ circuit_init_cpath_crypto(crypt_path_t *cpath, const char *key_data, if (!(cpath->f_crypto = crypto_create_init_cipher(key_data+(2*DIGEST_LEN),1))) { - log_warn(LD_BUG,"Bug: forward cipher initialization failed."); + log_warn(LD_BUG,"Forward cipher initialization failed."); return -1; } if (!(cpath->b_crypto = crypto_create_init_cipher(key_data+(2*DIGEST_LEN)+CIPHER_KEY_LEN,0))) { - log_warn(LD_BUG,"Bug: backward cipher initialization failed."); + log_warn(LD_BUG,"Backward cipher initialization failed."); return -1; } @@ -1342,7 +1342,7 @@ choose_good_exit_server(uint8_t purpose, routerlist_t *dir, NULL, need_uptime, need_capacity, 0, options->_AllowInvalid & ALLOW_INVALID_RENDEZVOUS, 0, 0); } - log_warn(LD_BUG,"Bug: unhandled purpose %d", purpose); + log_warn(LD_BUG,"Unhandled purpose %d", purpose); tor_fragile_assert(); return NULL; } |