浏览代码

fix warning in civetweb.c

bel 10 年之前
父节点
当前提交
32f3e195ba
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/civetweb.h

+ 1 - 1
include/civetweb.h

@@ -61,7 +61,7 @@ struct mg_request_info {
                                    NULL */
     const char *remote_user;    /* Authenticated user, or NULL if no auth
                                    used */
-    const char remote_addr[48]; /* Client's IP address as a string. */
+    char remote_addr[48];       /* Client's IP address as a string. */
     long remote_ip;             /* Client's IP address. Deprecated: use remote_addr instead */
 
     long long content_length;   /* Length (in bytes) of the request body,