diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-11-06 15:33:25 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-11-06 15:33:25 -0500 |
commit | 8020d6fb05d9477e77c6ca554dc1288873f6115c (patch) | |
tree | c3498e105bfd77c8691253f7a2a5464bc3206256 /src/feature/dircache/dircache.c | |
parent | ba28704b296b1036151e4bfa97e7091d7639a573 (diff) | |
parent | da716fdfbb08952b971882eba1dabca2fef9c7f3 (diff) | |
download | tor-8020d6fb05d9477e77c6ca554dc1288873f6115c.tar.gz tor-8020d6fb05d9477e77c6ca554dc1288873f6115c.zip |
Merge remote-tracking branch 'tor-github/pr/464'
Diffstat (limited to 'src/feature/dircache/dircache.c')
-rw-r--r-- | src/feature/dircache/dircache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/dircache/dircache.c b/src/feature/dircache/dircache.c index dff4b85caa..4032223db4 100644 --- a/src/feature/dircache/dircache.c +++ b/src/feature/dircache/dircache.c @@ -1602,8 +1602,8 @@ directory_handle_command_post,(dir_connection_t *conn, const char *headers, const char *msg = "[None]"; uint8_t purpose = authdir_mode_bridge(options) ? ROUTER_PURPOSE_BRIDGE : ROUTER_PURPOSE_GENERAL; - was_router_added_t r = dirserv_add_multiple_descriptors(body, purpose, - conn->base_.address, &msg); + was_router_added_t r = dirserv_add_multiple_descriptors(body, body_len, + purpose, conn->base_.address, &msg); tor_assert(msg); if (r == ROUTER_ADDED_SUCCESSFULLY) { |