summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 09:17:49 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 09:17:49 +0200
commit6a35704cdb2e930069917331612cd3c894dc1165 (patch)
tree46188d8c7e2a30c3f57803a3ed6688fb84e5644a
parent8f508757404dd67f8e26d4befc290361cc34a4d5 (diff)
downloadtinyproxy-6a35704cdb2e930069917331612cd3c894dc1165.tar.gz
tinyproxy-6a35704cdb2e930069917331612cd3c894dc1165.zip
heap: make a const string const in malloc_shared_memory().
Michael
-rw-r--r--src/heap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heap.c b/src/heap.c
index 0e451a4..3ab9212 100644
--- a/src/heap.c
+++ b/src/heap.c
@@ -111,7 +111,7 @@ malloc_shared_memory (size_t size)
void *ptr;
char buffer[32];
- static char *shared_file = "/tmp/tinyproxy.shared.XXXXXX";
+ static const char *shared_file = "/tmp/tinyproxy.shared.XXXXXX";
assert (size > 0);