aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_service.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-02-10 12:54:43 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-10 12:54:43 -0500
commitd9e211ab7025acce3eb3a96d85791caff52ce095 (patch)
tree85b01ee7ca6ec8d07b312a77a2bb17a39e0a03a6 /src/feature/hs/hs_service.c
parenta9cc4ce0eb916255b447b7943c3a72a9feaccff9 (diff)
downloadtor-d9e211ab7025acce3eb3a96d85791caff52ce095.tar.gz
tor-d9e211ab7025acce3eb3a96d85791caff52ce095.zip
Use semicolons after HT_PROTOTYPE and HT_GENERATE.
Diffstat (limited to 'src/feature/hs/hs_service.c')
-rw-r--r--src/feature/hs/hs_service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c
index 81b37eab40..7cf6d1f152 100644
--- a/src/feature/hs/hs_service.c
+++ b/src/feature/hs/hs_service.c
@@ -151,11 +151,11 @@ HT_PROTOTYPE(hs_service_ht, /* Name of hashtable. */
hs_service_t, /* Object contained in the map. */
hs_service_node, /* The name of the HT_ENTRY member. */
hs_service_ht_hash, /* Hashing function. */
- hs_service_ht_eq) /* Compare function for objects. */
+ hs_service_ht_eq); /* Compare function for objects. */
HT_GENERATE2(hs_service_ht, hs_service_t, hs_service_node,
hs_service_ht_hash, hs_service_ht_eq,
- 0.6, tor_reallocarray, tor_free_)
+ 0.6, tor_reallocarray, tor_free_);
/** Query the given service map with a public key and return a service object
* if found else NULL. It is also possible to set a directory path in the