diff options
Diffstat (limited to 'snac.c')
| -rw-r--r-- | snac.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -24,6 +24,7 @@ | |||
| 24 | #include "xs_match.h" | 24 | #include "xs_match.h" |
| 25 | #include "xs_fcgi.h" | 25 | #include "xs_fcgi.h" |
| 26 | #include "xs_html.h" | 26 | #include "xs_html.h" |
| 27 | #include "xs_po.h" | ||
| 27 | 28 | ||
| 28 | #include "snac.h" | 29 | #include "snac.h" |
| 29 | 30 | ||
| @@ -34,6 +35,7 @@ xs_str *srv_basedir = NULL; | |||
| 34 | xs_dict *srv_config = NULL; | 35 | xs_dict *srv_config = NULL; |
| 35 | xs_str *srv_baseurl = NULL; | 36 | xs_str *srv_baseurl = NULL; |
| 36 | xs_str *srv_proxy_token_seed = NULL; | 37 | xs_str *srv_proxy_token_seed = NULL; |
| 38 | xs_dict *srv_langs = NULL; | ||
| 37 | 39 | ||
| 38 | int dbglevel = 0; | 40 | int dbglevel = 0; |
| 39 | 41 | ||
| @@ -179,6 +181,7 @@ const char *http_status_text(int status) | |||
| 179 | /* translate status codes to canonical status texts */ | 181 | /* translate status codes to canonical status texts */ |
| 180 | { | 182 | { |
| 181 | switch (status) { | 183 | switch (status) { |
| 184 | case 399: return "Timeout"; | ||
| 182 | #define HTTP_STATUS(code, name, text) case HTTP_STATUS_ ## name: return #text; | 185 | #define HTTP_STATUS(code, name, text) case HTTP_STATUS_ ## name: return #text; |
| 183 | #include "http_codes.h" | 186 | #include "http_codes.h" |
| 184 | #undef HTTP_STATUS | 187 | #undef HTTP_STATUS |