From 7eff786e4b4d81c35f5e9ea421a0203d9c3fa723 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 28 Sep 2004 22:35:02 +0000 Subject: Fix messages for _UNRECOGNIZED tokens svn:r2390 --- src/or/routerparse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 8f87872aee..20572545f9 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; } -- cgit v1.2.3-54-g00ecf