瀏覽代碼

fixed PRINTF_ARGS for send_http_error(...)

Philipp Friedenberger 10 年之前
父節點
當前提交
81768c3e17
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -1562,7 +1562,7 @@ static const char *mg_get_response_code_text(int response_code, struct mg_connec
 
 static void send_http_error(struct mg_connection *, int,
                             PRINTF_FORMAT_STRING(const char *fmt), ...)
-PRINTF_ARGS(4, 5);
+PRINTF_ARGS(3, 4);
 
 
 static void send_http_error(struct mg_connection *conn, int status, const char *fmt, ...)