summaryrefslogtreecommitdiff
path: root/src/proxy/store.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-05-23 21:33:43 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-05-23 21:33:43 +0000
commitcefcc0426613cc761373e785980c87c77f8a8cb5 (patch)
treee64653268bcb93fc50bf23d22e38799c5bb31adc /src/proxy/store.c
parent6ba50a2001bcfa1b467f69985a002fc064d8c807 (diff)
"const correctness" cleanup
added the following default flags: -Wformat -Wformat-security -Wmultichar -Wwrite-strings fixed several other warnings
Diffstat (limited to 'src/proxy/store.c')
-rw-r--r--src/proxy/store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proxy/store.c b/src/proxy/store.c
index daa9952..76f245a 100644
--- a/src/proxy/store.c
+++ b/src/proxy/store.c
@@ -1253,7 +1253,7 @@ static int PT_SaveCache__New_Fun(void *arg, const char *url, PT_Element element)
headersSize = 0;
/* */
{
- char *message;
+ const char *message;
if (strlen(element->msg) < 32) {
message = element->msg;