Changed all the mallocs and callocs to use the new safemalloc and

safecalloc.
This commit is contained in:
Robert James Kaes committed 2001-09-08 18:58:37 +00:00
1 parent d5253ec5f4
commit 0668e42e8f
7 files changed
+25 -24

No files matched your search

+1 -3
View File
@@ -1,4 +1,4 @@
/* $Id: tinyproxy.h,v 1.13 2001-08-29 04:04:01 rjkaes Exp $
/* $Id: tinyproxy.h,v 1.14 2001-09-08 18:58:37 rjkaes Exp $
*
* See 'tinyproxy.c' for a detailed description.
*
@@ -78,8 +78,6 @@
#define min(a,b) ((a) < (b) ? (a) : (b))
#define max(a,b) ((a) > (b) ? (a) : (b))
#define safefree(x) do { free(x); x = NULL; } while (0)
/* Make a new type: bool_t */
typedef enum {
FALSE = 0,