commit 985374a

default  ·  2025-03-11 08:50:38 +0000 UTC
parent 68d8b8a
Fixed typo.
1 files changed,  +1, -1
M snac.c
M snac.c
+1, -1
1@@ -181,7 +181,7 @@ const char *http_status_text(int status)
2 /* translate status codes to canonical status texts */
3 {
4     switch (status) {
5-        case 399: return "Timeout";
6+        case 599: return "Timeout";
7 #define HTTP_STATUS(code, name, text) case HTTP_STATUS_ ## name: return #text;
8 #include "http_codes.h"
9 #undef HTTP_STATUS