heap: make a const string const in malloc_shared_memory().
Michael
This commit is contained in:
1 parent
8f50875740
commit
6a35704cdb
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user