[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Fix a couple of typos, one of which conceals a bug in parsi...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Fix a couple of typos, one of which conceals a bug in parsi...
- From: nickm@seul.org (Nick Mathewson)
- Date: Wed, 6 Oct 2004 09:28:37 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 06 Oct 2004 09:28:58 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv24748/src/or
Modified Files:
routerparse.c
Log Message:
Fix a couple of typos, one of which conceals a bug in parsing opt keywords with objects
Index: routerparse.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerparse.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- routerparse.c 3 Oct 2004 02:37:52 -0000 1.44
+++ routerparse.c 6 Oct 2004 13:28:34 -0000 1.45
@@ -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');
@@ -1213,7 +1213,7 @@
break;
case NEED_KEY:
if (!tok->key)
- RET_ERR("Missing publid key for keyword");
+ RET_ERR("Missing public key for keyword");
break;
case OBJ_OK:
break;