浏览代码

Add missing VARG for macro expansion (required for GCC)

bel2125 7 年之前
父节点
当前提交
ce178e0339
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -13629,7 +13629,7 @@ set_ports_option(struct mg_context *phys_ctx)
 				}
 			}
 #else
-			mg_cry_internal(fc(phys_ctx), "IPv6 not available");
+            mg_cry_internal(fc(phys_ctx), "%s", "IPv6 not available");
 			closesocket(so.sock);
 			so.sock = INVALID_SOCKET;
 			continue;