diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-09-29 22:33:34 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-09-29 22:33:34 +0000 |
commit | 8308a379086a82126f685f3d8668e48b0453880d (patch) | |
tree | ff58a6840424547da934e4bd85e43d14505c91e7 /src/or/routerparse.c | |
parent | 9027491ae154280094ecf292dc5a8953532363cb (diff) | |
download | tor-8308a379086a82126f685f3d8668e48b0453880d.tar.gz tor-8308a379086a82126f685f3d8668e48b0453880d.zip |
r9023@Kushana: nickm | 2006-09-29 17:27:24 -0400
Make distinct all non-bug messages at notice or higher that appear 3 or more times.
svn:r8541
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index b73697ab40..4eadd1c513 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -481,7 +481,7 @@ router_parse_runningrouters(const char *str) } if (!(tok = find_first_by_keyword(tokens, K_PUBLISHED))) { - log_warn(LD_DIR, "Missing published time on directory."); + log_warn(LD_DIR, "Missing published time on running-routers."); goto err; } tor_assert(tok->n_args == 1); @@ -818,7 +818,7 @@ router_parse_entry_from_string(const char *s, const char *end, } if (!(tok = find_first_by_keyword(tokens, K_PUBLISHED))) { - log_warn(LD_DIR, "Missing published time"); goto err; + log_warn(LD_DIR, "Missing published time on router descriptor"); goto err; } tor_assert(tok->n_args == 1); if (parse_iso_time(tok->args[0], &router->cache_info.published_on) < 0) @@ -854,7 +854,7 @@ router_parse_entry_from_string(const char *s, const char *end, /* If there's a fingerprint line, it must match the identity digest. */ char d[DIGEST_LEN]; if (tok->n_args < 1) { - log_warn(LD_DIR, "Too few arguments to fingerprint"); + log_warn(LD_DIR, "Too few arguments to router fingerprint"); goto err; } tor_strstrip(tok->args[0], " "); @@ -1163,7 +1163,7 @@ networkstatus_parse_from_string(const char *s) goto err; } if (tok->n_args < 1) { - log_warn(LD_DIR, "Too few arguments to fingerprint"); + log_warn(LD_DIR, "Too few arguments to networkstatus fingerprint"); goto err; } if (base16_decode(ns->identity_digest, DIGEST_LEN, tok->args[0], @@ -1221,7 +1221,7 @@ networkstatus_parse_from_string(const char *s) } if (!(tok = find_first_by_keyword(tokens, K_PUBLISHED))) { - log_warn(LD_DIR, "Missing published time on directory."); + log_warn(LD_DIR, "Missing published time on network-status."); goto err; } tor_assert(tok->n_args == 1); |