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/config.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/config.c')
-rw-r--r-- | src/or/config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/config.c b/src/or/config.c index d14aadb385..7aade11d81 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -890,7 +890,7 @@ options_act(or_options_t *old_options) for (cl = options->DirServers; cl; cl = cl->next) { if (parse_dir_server_line(cl->value, 0)<0) { log_err(LD_BUG, - "Bug: Previously validated DirServer line could not be added!"); + "Previously validated DirServer line could not be added!"); return -1; } } @@ -900,7 +900,7 @@ options_act(or_options_t *old_options) if (running_tor && rend_config_services(options, 0)<0) { log_err(LD_BUG, - "Bug: Previously validated hidden services line could not be added!"); + "Previously validated hidden services line could not be added!"); return -1; } @@ -1561,7 +1561,7 @@ get_assigned_option(config_format_t *fmt, or_options_t *options, default: tor_free(result->key); tor_free(result); - log_warn(LD_BUG,"Bug: unknown type %d for known key '%s'", + log_warn(LD_BUG,"Unknown type %d for known key '%s'", var->type, key); return NULL; } @@ -2106,7 +2106,7 @@ options_dup(config_format_t *fmt, or_options_t *old) if (line) { char *msg = NULL; if (config_assign(fmt, newopts, line, 0, 0, &msg) < 0) { - log_err(LD_BUG, "Bug: config_get_assigned_option() generated " + log_err(LD_BUG, "Config_get_assigned_option() generated " "something we couldn't config_assign(): %s", msg); tor_free(msg); tor_assert(0); |