From: robertc <> Date: Mon, 9 Jun 2003 11:22:33 +0000 (+0000) Subject: Summary: const correctness in ESIExpression:getsymbol(). X-Git-Tag: SQUID_3_0_PRE1~137 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49cb2642c091969878bc2dd2bcb7d39835f9958c;p=thirdparty%2Fsquid.git Summary: const correctness in ESIExpression:getsymbol(). Keywords: const correctness in ESIExpression:getsymbol(). --- diff --git a/src/ESIExpression.cc b/src/ESIExpression.cc index b5523e2a85..f372b7e678 100644 --- a/src/ESIExpression.cc +++ b/src/ESIExpression.cc @@ -1,6 +1,6 @@ /* - * $Id: ESIExpression.cc,v 1.1 2003/03/10 04:56:35 robertc Exp $ + * $Id: ESIExpression.cc,v 1.2 2003/06/09 05:22:33 robertc Exp $ * * DEBUG: section 86 ESI processing * AUTHOR: Robert Collins @@ -723,7 +723,7 @@ getsymbol (const char *s, char const **endptr) if (('0' <= *s && *s <= '9') || *s == '-') { size_t length = strspn (s, "0123456789."); - char *point; + char const *point; if ((point = strchr (s, '.')) && point - s < (ssize_t)length) { /* floating point */