[or-cvs] backport patch from pre3:
Roger Dingledine
arma at seul.org
Wed Oct 13 21:44:10 UTC 2004
Update of /home2/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/0081/src/or
Modified Files:
Tag: tor-0_0_8-patches
routerparse.c
Log Message:
backport patch from pre3:
fix a bug in parsing opt keywords with objects
Index: routerparse.c
===================================================================
RCS file: /home2/or/cvsroot/src/or/routerparse.c,v
retrieving revision 1.37
retrieving revision 1.37.2.1
diff -u -d -r1.37 -r1.37.2.1
--- routerparse.c 25 Aug 2004 17:31:47 -0000 1.37
+++ routerparse.c 13 Oct 2004 21:44:08 -0000 1.37.2.1
@@ -1147,7 +1147,7 @@
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');
More information about the tor-commits
mailing list