diff options
| author | 2025-03-11 09:50:38 +0100 | |
|---|---|---|
| committer | 2025-03-11 09:50:38 +0100 | |
| commit | 985374ab9a1b3fcb5baec6e8511126e59f40a7b6 (patch) | |
| tree | 11001d631d1b390ef0ff72f2341625d02cb0a9ec | |
| parent | Updated README. (diff) | |
| download | penes-snac2-985374ab9a1b3fcb5baec6e8511126e59f40a7b6.tar.gz penes-snac2-985374ab9a1b3fcb5baec6e8511126e59f40a7b6.tar.xz penes-snac2-985374ab9a1b3fcb5baec6e8511126e59f40a7b6.zip | |
Fixed typo.
| -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 |