aboutsummaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-02-14 10:04:46 +0100
committerdefault <nobody@localhost>2025-02-14 10:04:46 +0100
commit02bc18eb118fcd93f5cd90a056f7b78dfe64382f (patch)
treeaffa271a87beccf836280de278c7b7cddd2ed308 /httpd.c
parent9a56475f4c1566925536bdf8bbd7a36c1d0c39f8 (diff)
Redefined L() to use lang_str().
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index d22bb14..22a148d 100644
--- a/httpd.c
+++ b/httpd.c
@@ -211,6 +211,8 @@ int server_get_handler(xs_dict *req, const char *q_path,
{
int status = 0;
+ const snac *user = NULL;
+
/* is it the server root? */
if (*q_path == '\0' || strcmp(q_path, "/") == 0) {
const xs_dict *q_vars = xs_dict_get(req, "q_vars");