aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-10-30 15:25:43 +0100
committerGravatar Christian Hesse <mail@eworm.de>2017-10-30 15:25:43 +0100
commitc0c5ddd6594f423268f881fb950ed4b668360901 (patch)
tree258073ad7503a17d04b076852621afb58282cca3
parentdeee60576eb547b0c7fa219042db8f803862cb7e (diff)
downloadpacredir-c0c5ddd6594f423268f881fb950ed4b668360901.tar.gz
pacredir-c0c5ddd6594f423268f881fb950ed4b668360901.tar.zst
set basename for proper html output in response
-rw-r--r--pacredir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacredir.c b/pacredir.c
index 0b034a8..01d37b4 100644
--- a/pacredir.c
+++ b/pacredir.c
@@ -415,7 +415,7 @@ static int ahc_echo(void * cls,
http_code = MHD_HTTP_OK;
/* duplicate string so we can free it later */
url = strdup(WEBSITE);
- host = "project site";
+ host = basename = "project site";
goto response;
}