From be757add023938740fb4ea005e868bcd35e1547f Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Wed, 6 Jan 2021 19:19:06 +0100 Subject: [PATCH] Bugfix URI --- src/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.c b/src/client.c index 0083e66..2b7e786 100644 --- a/src/client.c +++ b/src/client.c @@ -133,8 +133,8 @@ int client_request_handler(sock *client, unsigned long client_num, unsigned int goto respond; } + http_uri uri; if (conf->type == CONFIG_TYPE_LOCAL) { - http_uri uri; ret = uri_init(&uri, conf->local.webroot, req.uri, conf->local.dir_mode); if (ret != 0) { if (ret == 1) {