aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-09-28 22:35:02 +0000
committerNick Mathewson <nickm@torproject.org>2004-09-28 22:35:02 +0000
commit7eff786e4b4d81c35f5e9ea421a0203d9c3fa723 (patch)
treedb13f565b8471533a4d805b6b1c4b569197bed6f /src/or/routerparse.c
parentd20d10f360dfe58ca048ef8c56b013914371a6be (diff)
downloadtor-7eff786e4b4d81c35f5e9ea421a0203d9c3fa723.tar
tor-7eff786e4b4d81c35f5e9ea421a0203d9c3fa723.tar.gz
Fix messages for _UNRECOGNIZED tokens
svn:r2390
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 8f87872ae..20572545f 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -354,7 +354,7 @@ router_parse_routerlist_from_directory(const char *str,
log_fn(LOG_WARN, "Impossibly short directory header"); goto err;
}
if ((tok = find_first_by_keyword(tokens, _UNRECOGNIZED))) {
- log_fn(LOG_WARN, "Unrecognized keyword in \"%s\"; can't parse directory.",
+ log_fn(LOG_WARN, "Unrecognized keyword \"%s\" in directory header; can't parse directory.",
tok->args[0]);
goto err;
}
@@ -468,7 +468,7 @@ router_parse_runningrouters(const char *str)
log_fn(LOG_WARN, "Error tokenizing directory"); goto err;
}
if ((tok = find_first_by_keyword(tokens, _UNRECOGNIZED))) {
- log_fn(LOG_WARN, "Unrecognized keyword in \"%s\"; can't parse directory.",
+ log_fn(LOG_WARN, "Unrecognized keyword \"%s\"; can't parse running-routers",
tok->args[0]);
goto err;
}
@@ -662,7 +662,7 @@ routerinfo_t *router_parse_entry_from_string(const char *s,
goto err;
}
if ((tok = find_first_by_keyword(tokens, _UNRECOGNIZED))) {
- log_fn(LOG_WARN, "Unrecognized keyword in \"%s\"; skipping descriptor.",
+ log_fn(LOG_WARN, "Unrecognized keyword \"%s\"; skipping descriptor.",
tok->args[0]);
goto err;
}