]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: const correctness in ESIExpression:getsymbol().
authorrobertc <>
Mon, 9 Jun 2003 11:22:33 +0000 (11:22 +0000)
committerrobertc <>
Mon, 9 Jun 2003 11:22:33 +0000 (11:22 +0000)
Keywords:

const correctness in ESIExpression:getsymbol().

src/ESIExpression.cc

index b5523e2a8578846fda8af905b46c29ad08e37dc7..f372b7e6780f54158ae605a20430269d7534c51f 100644 (file)
@@ -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 */