summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-06-15 18:34:46 +0000
committerNick Mathewson <nickm@torproject.org>2005-06-15 18:34:46 +0000
commitd4972bd2e1e2fe8fb9b9b747d60fc725d9c28dea (patch)
treebae2bf4932e5b397dcd291642f86141873947874 /src/or/routerparse.c
parente8331f9d7d051c301069b645e6dbe7eb4897fa88 (diff)
downloadtor-d4972bd2e1e2fe8fb9b9b747d60fc725d9c28dea.tar.gz
tor-d4972bd2e1e2fe8fb9b9b747d60fc725d9c28dea.zip
Remove code that has been #if-0ed for a long time.
svn:r4435
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 53b4ea6471..f2a3515af6 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -1389,27 +1389,6 @@ get_next_token(const char **s, where_syntax where)
done_tokenizing:
-#if 0
- for (i = 0; token_table[i].t ; ++i) {
- if (token_table[i].v == tok->tp) {
- fputs(token_table[i].t, stdout);
- break;
- i = -1;
- }
- }
- if (i) {
- if (tok->tp == _UNRECOGNIZED) fputs("UNRECOGNIZED", stdout);
- if (tok->tp == _ERR) fputs("ERR",stdout);
- if (tok->tp == _EOF) fputs("EOF",stdout);
- if (tok->tp == _NIL) fputs("_NIL",stdout);
- }
- for (i = 0; i < tok->n_args; ++i) {
- fprintf(stdout," \"%s\"", tok->args[i]);
- }
- if (tok->error) { fprintf(stdout," *%s*", tok->error); }
- fputs("\n",stdout);
-#endif
-
return tok;
#undef RET_ERR
}