heap: make a const string const in malloc_shared_memory().
Michael
This commit is contained in:
		
							parent
							
								
									8f50875740
								
							
						
					
					
						commit
						6a35704cdb
					
				| @ -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); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Michael Adam
						Michael Adam