소스 검색

Fixed typo.

default 2 주 전
부모
커밋
985374ab9a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      snac.c

+ 1 - 1
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