diff options
author | teor <teor@torproject.org> | 2019-11-05 14:23:10 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-11-05 14:23:10 +1000 |
commit | 61694695469824f5daf5155d5f072dd97be22c32 (patch) | |
tree | 6d09e71c4ca8f3db5914d5e6b1ec3e37e3e62f95 /src/feature/dircache | |
parent | d3af23783c35151a511fc7fc37d88cf41831448c (diff) | |
parent | bcb38d984d42a75832db9fc8f3b70d54dce472e4 (diff) | |
download | tor-61694695469824f5daf5155d5f072dd97be22c32.tar.gz tor-61694695469824f5daf5155d5f072dd97be22c32.zip |
Merge remote-tracking branch 'tor-github/pr/1477'
Diffstat (limited to 'src/feature/dircache')
-rw-r--r-- | src/feature/dircache/dircache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/dircache/dircache.c b/src/feature/dircache/dircache.c index 795f1b8ed7..9938f9426c 100644 --- a/src/feature/dircache/dircache.c +++ b/src/feature/dircache/dircache.c @@ -28,6 +28,7 @@ #include "feature/nodelist/authcert.h" #include "feature/nodelist/networkstatus.h" #include "feature/nodelist/routerlist.h" +#include "feature/relay/relay_config.h" #include "feature/relay/routermode.h" #include "feature/rend/rendcache.h" #include "feature/stats/geoip_stats.h" @@ -478,7 +479,7 @@ static int handle_get_frontpage(dir_connection_t *conn, const get_handler_args_t *args) { (void) args; /* unused */ - const char *frontpage = get_dirportfrontpage(); + const char *frontpage = relay_get_dirportfrontpage(); if (frontpage) { size_t dlen; |