aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-03-11 09:50:38 +0100
committerdefault <nobody@localhost>2025-03-11 09:50:38 +0100
commit985374ab9a1b3fcb5baec6e8511126e59f40a7b6 (patch)
tree11001d631d1b390ef0ff72f2341625d02cb0a9ec
parent68d8b8a9196eba5fd71d7be34512c54c6955347e (diff)
Fixed typo.
-rw-r--r--snac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/snac.c b/snac.c
index 4e5aaba..0a1c9cf 100644
--- a/snac.c
+++ b/snac.c
@@ -181,7 +181,7 @@ const char *http_status_text(int status)
/* translate status codes to canonical status texts */
{
switch (status) {
- case 399: return "Timeout";
+ case 599: return "Timeout";
#define HTTP_STATUS(code, name, text) case HTTP_STATUS_ ## name: return #text;
#include "http_codes.h"
#undef HTTP_STATUS