Procházet zdrojové kódy

fix warning in civetweb.c

bel před 10 roky
rodič
revize
32f3e195ba
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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,