diff options
| author | 2025-03-11 18:38:17 +0000 | |
|---|---|---|
| committer | 2025-03-11 18:38:17 +0000 | |
| commit | a9710fcf0ea61a63ad10f58005456983cbb07b74 (patch) | |
| tree | bc17a9aecdbf15433fdf78cbb2595650e5a29784 /snac.c | |
| parent | File renaming, more improvements (diff) | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | snac2-a9710fcf0ea61a63ad10f58005456983cbb07b74.tar.gz snac2-a9710fcf0ea61a63ad10f58005456983cbb07b74.tar.xz snac2-a9710fcf0ea61a63ad10f58005456983cbb07b74.zip | |
Merge pull request 'master' (#2) from grunfink/snac2:master into master
Reviewed-on: https://codeberg.org/zen/snac2/pulls/2
Diffstat (limited to 'snac.c')
| -rw-r--r-- | snac.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -181,7 +181,7 @@ const char *http_status_text(int status) | |||
| 181 | /* translate status codes to canonical status texts */ | 181 | /* translate status codes to canonical status texts */ |
| 182 | { | 182 | { |
| 183 | switch (status) { | 183 | switch (status) { |
| 184 | case 399: return "Timeout"; | 184 | case 599: return "Timeout"; |
| 185 | #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; |
| 186 | #include "http_codes.h" | 186 | #include "http_codes.h" |
| 187 | #undef HTTP_STATUS | 187 | #undef HTTP_STATUS |