diff options
| author | 2025-02-14 10:04:46 +0100 | |
|---|---|---|
| committer | 2025-02-14 10:04:46 +0100 | |
| commit | 02bc18eb118fcd93f5cd90a056f7b78dfe64382f (patch) | |
| tree | affa271a87beccf836280de278c7b7cddd2ed308 /httpd.c | |
| parent | New function lang_str(). (diff) | |
| download | penes-snac2-02bc18eb118fcd93f5cd90a056f7b78dfe64382f.tar.gz penes-snac2-02bc18eb118fcd93f5cd90a056f7b78dfe64382f.tar.xz penes-snac2-02bc18eb118fcd93f5cd90a056f7b78dfe64382f.zip | |
Redefined L() to use lang_str().
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -211,6 +211,8 @@ int server_get_handler(xs_dict *req, const char *q_path, | |||
| 211 | { | 211 | { |
| 212 | int status = 0; | 212 | int status = 0; |
| 213 | 213 | ||
| 214 | const snac *user = NULL; | ||
| 215 | |||
| 214 | /* is it the server root? */ | 216 | /* is it the server root? */ |
| 215 | if (*q_path == '\0' || strcmp(q_path, "/") == 0) { | 217 | if (*q_path == '\0' || strcmp(q_path, "/") == 0) { |
| 216 | const xs_dict *q_vars = xs_dict_get(req, "q_vars"); | 218 | const xs_dict *q_vars = xs_dict_get(req, "q_vars"); |