summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-03-05 05:48:28 +0000
committerNick Mathewson <nickm@torproject.org>2004-03-05 05:48:28 +0000
commit1e5b7bc6f1ad8c2d419f6e4a78b314ae3480033e (patch)
treeeb2889cf9c99e615753d476a3bf6b5f4b421a421 /src/or/dirserv.c
parent9d00c4b81cb29f0c50c534696d7886b2d891805a (diff)
downloadtor-1e5b7bc6f1ad8c2d419f6e4a78b314ae3480033e.tar.gz
tor-1e5b7bc6f1ad8c2d419f6e4a78b314ae3480033e.zip
New, more flexible directory parsing backend. Uses a bit more RAM, but implements the new spec. Uses more RAM, but not so you would notice.
svn:r1235
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index a3a29d9391..69446d6b74 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -218,7 +218,7 @@ dirserv_add_descriptor(const char **desc)
cp = desc_tmp = tor_strndup(start, desc_len);
/* Check: is the descriptor syntactically valid? */
- ri = router_get_entry_from_string(&cp);
+ ri = router_get_entry_from_string(cp, NULL);
if (!ri) {
log(LOG_WARN, "Couldn't parse descriptor");
goto err;