--------------------- PatchSet 11204 Date: 2007/01/26 01:31:22 Author: hno Branch: HEAD Tag: (none) Log: Fix more GCC const warnings Members: src/client_db.c:1.57->1.58 Index: squid/src/client_db.c =================================================================== RCS file: /cvsroot/squid/squid/src/client_db.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- squid/src/client_db.c 21 Jan 2007 12:53:58 -0000 1.57 +++ squid/src/client_db.c 26 Jan 2007 01:31:22 -0000 1.58 @@ -1,6 +1,6 @@ /* - * $Id: client_db.c,v 1.57 2007/01/21 12:53:58 adrian Exp $ + * $Id: client_db.c,v 1.58 2007/01/26 01:31:22 hno Exp $ * * DEBUG: section 0 Client Database * AUTHOR: Duane Wessels @@ -79,7 +79,7 @@ void clientdbUpdate(struct in_addr addr, log_type ltype, protocol_t p, squid_off_t size) { - char *key; + const char *key; ClientInfo *c; if (!Config.onoff.client_db) return; @@ -115,7 +115,7 @@ int clientdbEstablished(struct in_addr addr, int delta) { - char *key; + const char *key; ClientInfo *c; if (!Config.onoff.client_db) return 0; @@ -133,7 +133,7 @@ int clientdbCutoffDenied(struct in_addr addr) { - char *key; + const char *key; int NR; int ND; double p; @@ -303,7 +303,7 @@ client_entry(struct in_addr *current) { ClientInfo *c = NULL; - char *key; + const char *key; if (current) { key = xinet_ntoa(*current); hash_first(client_table);