From: hno <> Date: Sat, 13 Apr 2002 22:24:50 +0000 (+0000) Subject: const correctness X-Git-Tag: SQUID_3_0_PRE1~1087 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ecefb559e549f925584f2b4e73b7d0e64e38268e;p=thirdparty%2Fsquid.git const correctness --- diff --git a/src/carp.cc b/src/carp.cc index bbf88e0dc2..d0bb384edd 100644 --- a/src/carp.cc +++ b/src/carp.cc @@ -1,6 +1,6 @@ /* - * $Id: carp.cc,v 1.17 2002/04/13 15:46:42 hno Exp $ + * $Id: carp.cc,v 1.18 2002/04/13 16:24:50 hno Exp $ * * DEBUG: section 39 Cache Array Routing Protocol * AUTHOR: Henrik Nordstrom @@ -138,7 +138,7 @@ carpSelectParent(request_t * request) unsigned int combined_hash; double score; double high_score = 0; - char *key = NULL; + const char *key = NULL; if (n_carp_peers == 0) return NULL;