summaryrefslogtreecommitdiff
path: root/snac.c
diff options
context:
space:
mode:
Diffstat (limited to 'snac.c')
-rw-r--r--snac.c1
1 files changed, 1 insertions, 0 deletions
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)
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#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;
185#include "http_codes.h" 186#include "http_codes.h"
186#undef HTTP_STATUS 187#undef HTTP_STATUS