aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2016-08-25 11:11:23 -0400
committerDavid Goulet <dgoulet@torproject.org>2016-11-04 10:32:50 -0400
commita8efd087bdd937027713217d74e1cfd40fba4961 (patch)
treed96d02bd9a1bc64097c628b01f747ba51aa5f02a /src/or/directory.c
parentf59990f24ddf3e5c7cdeb82c9e8cf16c7dcce56b (diff)
downloadtor-a8efd087bdd937027713217d74e1cfd40fba4961.tar.gz
tor-a8efd087bdd937027713217d74e1cfd40fba4961.zip
test: Add prop224 directory fetch/upload unit tests
Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net>
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 f72bc556fe..8afb241520 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -3532,7 +3532,7 @@ parse_hs_version_from_post(const char *url, const char *prefix,
/* Handle the POST request for a hidden service descripror. The request is in
* <b>url</b>, the body of the request is in <b>body</b>. Return 200 on success
* else return 400 indicating a bad request. */
-static int
+STATIC int
handle_post_hs_descriptor(const char *url, const char *body)
{
int version;