diff options
author | Christian Hesse <mail@eworm.de> | 2017-10-30 15:25:43 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-10-30 15:25:43 +0100 |
commit | c0c5ddd6594f423268f881fb950ed4b668360901 (patch) | |
tree | 258073ad7503a17d04b076852621afb58282cca3 | |
parent | deee60576eb547b0c7fa219042db8f803862cb7e (diff) | |
download | pacredir-c0c5ddd6594f423268f881fb950ed4b668360901.tar.gz pacredir-c0c5ddd6594f423268f881fb950ed4b668360901.tar.zst |
set basename for proper html output in response
-rw-r--r-- | pacredir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |