diff options
| author | shtrophic <christoph@liebender.dev> | 2025-02-17 20:54:36 +0100 |
|---|---|---|
| committer | shtrophic <christoph@liebender.dev> | 2025-02-17 20:54:36 +0100 |
| commit | 7eb2556f26baf8ff79fcb7388712d8b714efc4f6 (patch) | |
| tree | 0d11017b6431c514bd6afd16138a06851cd2f09e /snac.c | |
| parent | 7611a6bee4bcbad2f1710aafa99aba730e5cf995 (diff) | |
| parent | d40834edd1aa9d4fdb7cbcacb20edfe11734293f (diff) | |
Merge remote-tracking branch 'upstream/master' into curl-smtp
Diffstat (limited to 'snac.c')
| -rw-r--r-- | snac.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,6 +24,7 @@ #include "xs_match.h" #include "xs_fcgi.h" #include "xs_html.h" +#include "xs_po.h" #include "snac.h" @@ -34,6 +35,7 @@ xs_str *srv_basedir = NULL; xs_dict *srv_config = NULL; xs_str *srv_baseurl = NULL; xs_str *srv_proxy_token_seed = NULL; +xs_dict *srv_langs = NULL; int dbglevel = 0; @@ -179,6 +181,7 @@ const char *http_status_text(int status) /* translate status codes to canonical status texts */ { switch (status) { + case 399: return "Timeout"; #define HTTP_STATUS(code, name, text) case HTTP_STATUS_ ## name: return #text; #include "http_codes.h" #undef HTTP_STATUS |