aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 2bc6578eb..796c0f0a0 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1875,7 +1875,7 @@ directory_handle_command_post(dir_connection_t *conn, const char *headers,
if (!strcmp(url,"/tor/")) { /* server descriptor post */
const char *msg;
- int r = dirserv_add_descriptor(body, &msg);
+ int r = dirserv_add_multiple_descriptors(body, &msg);
tor_assert(msg);
if (r > 0)
dirserv_get_directory(); /* rebuild and write to disk */