summaryrefslogtreecommitdiff
path: root/src/or/directory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/directory.h')
-rw-r--r--src/or/directory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index 89913038e5..08ed5024d9 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -52,7 +52,7 @@ int directory_must_use_begindir(const or_options_t *options);
typedef struct directory_request_t directory_request_t;
directory_request_t *directory_request_new(uint8_t dir_purpose);
void directory_request_free_(directory_request_t *req);
-#define directory_request_free(req) FREE_AND_NULL(directory_request, (req))
+#define directory_request_free(req) FREE_AND_NULL(directory_request_t, directory_request_free_, (req))
void directory_request_set_or_addr_port(directory_request_t *req,
const tor_addr_port_t *p);
void directory_request_set_dir_addr_port(directory_request_t *req,