From 160ec8defb9c72066ef17585f0324b60d751ff91 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 13 Oct 2004 21:44:08 +0000 Subject: [PATCH] backport patch from pre3: fix a bug in parsing opt keywords with objects svn:r2475 --- branches/tor-0_0_8-patches/src/or/routerparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/branches/tor-0_0_8-patches/src/or/routerparse.c b/branches/tor-0_0_8-patches/src/or/routerparse.c index c12d07f613..05605abbee 100644 --- a/branches/tor-0_0_8-patches/src/or/routerparse.c +++ b/branches/tor-0_0_8-patches/src/or/routerparse.c @@ -1147,7 +1147,7 @@ get_next_token(const char **s, where_syntax where) { tok->args[0] = tor_strndup(*s,next-*s); tok->n_args = 1; *s = eat_whitespace_no_nl(next+1); - a_syn = OBJ_OK; + o_syn = OBJ_OK; } else { tok->tp = _UNRECOGNIZED; next = strchr(*s, '\n');