diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-08-26 21:28:16 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-08-26 21:28:16 +0000 |
commit | e24d540d818a0474493ebad2c9ceec3fd755f2c0 (patch) | |
tree | 9edced9efbdedfda30621b9c03d8a2d7fd1751ce /src/or/directory.c | |
parent | 208bdf5f27d796c3da8f1b83795c3f2df9dfde7d (diff) | |
download | tor-e24d540d818a0474493ebad2c9ceec3fd755f2c0.tar.gz tor-e24d540d818a0474493ebad2c9ceec3fd755f2c0.zip |
We no longer need dirserv_load_from_directory_string, so dirserv_add_descriptor no longer has to keep track of where each descriptor ends.
svn:r4861
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 740dc1ba0d..9e92b485b7 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1188,8 +1188,7 @@ directory_handle_command_post(connection_t *conn, char *headers, if (!strcmp(url,"/tor/")) { /* server descriptor post */ const char *msg; - cp = body; - switch (dirserv_add_descriptor(&cp, &msg)) { + switch (dirserv_add_descriptor(body, &msg)) { case -2: case -1: /* malformed descriptor, or something wrong */ |