diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-06-05 17:01:09 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-06-05 17:01:09 +0000 |
commit | 89dee022e5fd741e816a50cedfbd8058ebfb5431 (patch) | |
tree | 00cf81f233cd04a6a0cfb66fc13ed6d2ac4d693d | |
parent | b697ebf16bf65c057a0a644daaa493537655fff6 (diff) | |
download | tinyproxy-89dee022e5fd741e816a50cedfbd8058ebfb5431.tar.gz tinyproxy-89dee022e5fd741e816a50cedfbd8058ebfb5431.zip |
(malloc_shared_memory): Removed the assert() call for shared_file since it's now a static variable.
Diffstat (limited to '')
-rw-r--r-- | src/heap.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: heap.c,v 1.3 2002-05-29 20:51:35 rjkaes Exp $ +/* $Id: heap.c,v 1.4 2002-06-05 17:01:09 rjkaes Exp $ * * Debugging versions of various heap related functions are combined * here. The debugging versions include assertions and also print @@ -110,7 +110,6 @@ malloc_shared_memory(size_t size) static char* shared_file = "/tmp/tinyproxy.shared"; assert(size > 0); - assert(shared_file != NULL); strlcpy(buffer, shared_file, sizeof(buffer) - 8); strlcat(buffer, ".XXXXXX", sizeof(buffer)); |