summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-06-05 17:01:09 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-06-05 17:01:09 +0000
commit89dee022e5fd741e816a50cedfbd8058ebfb5431 (patch)
tree00cf81f233cd04a6a0cfb66fc13ed6d2ac4d693d /src
parentb697ebf16bf65c057a0a644daaa493537655fff6 (diff)
downloadtinyproxy-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 'src')
-rw-r--r--src/heap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/heap.c b/src/heap.c
index 7da4601..3a425f7 100644
--- a/src/heap.c
+++ b/src/heap.c
@@ -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));