[or-cvs] Fix messages for _UNRECOGNIZED tokens
Nick Mathewson
nickm at seul.org
Tue Sep 28 22:35:04 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv19883/src/or
Modified Files:
routerparse.c
Log Message:
Fix messages for _UNRECOGNIZED tokens
Index: routerparse.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerparse.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- routerparse.c 28 Sep 2004 03:30:28 -0000 1.41
+++ routerparse.c 28 Sep 2004 22:35:02 -0000 1.42
@@ -354,7 +354,7 @@
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 @@
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 @@
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;
}
More information about the tor-commits
mailing list