Bugfix URI

This commit is contained in:
2021-01-06 19:19:06 +01:00
parent 037c150868
commit be757add02

View File

@ -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) {