diff options
author | Michael Adam <obnox@samba.org> | 2009-08-07 09:17:49 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-07 09:17:49 +0200 |
commit | 6a35704cdb2e930069917331612cd3c894dc1165 (patch) | |
tree | 46188d8c7e2a30c3f57803a3ed6688fb84e5644a /src | |
parent | 8f508757404dd67f8e26d4befc290361cc34a4d5 (diff) | |
download | tinyproxy-6a35704cdb2e930069917331612cd3c894dc1165.tar.gz tinyproxy-6a35704cdb2e930069917331612cd3c894dc1165.zip |
heap: make a const string const in malloc_shared_memory().
Michael
Diffstat (limited to 'src')
-rw-r--r-- | src/heap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |