From 3844bbf04f9b417ee9fc97f6f43db259a063a1da Mon Sep 17 00:00:00 2001 From: default Date: Mon, 17 Feb 2025 07:53:06 +0100 Subject: Add fake HTTP status error 399 to http_status_text(). --- snac.c | 1 + 1 file changed, 1 insertion(+) (limited to 'snac.c') diff --git a/snac.c b/snac.c index d4a96e9..4e5aaba 100644 --- a/snac.c +++ b/snac.c @@ -181,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 -- cgit v1.2.3