summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/directory.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 0f6a02bd5f..ee1940e9b8 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2210,8 +2210,10 @@ note_client_request(int purpose, int compressed, size_t bytes)
tor_free(key);
}
+/** DOCDOC */
static void
-ensure_request_map_initialized(void) {
+ensure_request_map_initialized(void)
+{
if (!request_map)
request_map = strmap_new();
}