From c0c5ddd6594f423268f881fb950ed4b668360901 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 30 Oct 2017 15:25:43 +0100 Subject: set basename for proper html output in response --- pacredir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-70-g09d2