ソースを参照

Fix PRINTF_ARG define for gcc

Argument position was shifted with commit:
Remove unused argument of send_http_error
bel2125 10 年 前
コミット
11905e95eb
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, ...)