diff options
| author | Alexander Barton <alex@barton.de> | 2006-12-28 12:53:41 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2006-12-28 12:53:41 +0000 |
| commit | f74781647a842bb801278d54cf82cd1104563d18 (patch) | |
| tree | 74ae1a550358868abe5e61a1e7893a58906c3653 /src | |
| parent | 5c782302835e19ac1373ccd574070b8ff9003517 (diff) | |
| download | ngircd-f74781647a842bb801278d54cf82cd1104563d18.tar.gz ngircd-f74781647a842bb801278d54cf82cd1104563d18.zip | |
array_free(): enable debug code only when DEBUG_ARRAY is #define'd.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/array.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/array.c b/src/ngircd/array.c index 1342c670..d26d5e39 100644 --- a/src/ngircd/array.c +++ b/src/ngircd/array.c @@ -12,7 +12,7 @@ #include "array.h" -static char UNUSED id[] = "$Id: array.c,v 1.13 2006/12/17 22:52:43 fw Exp $"; +static char UNUSED id[] = "$Id: array.c,v 1.14 2006/12/28 12:53:41 alex Exp $"; #include <assert.h> @@ -270,7 +270,7 @@ void array_free(array * a) { assert(a != NULL); -#ifdef DEBUG +#ifdef DEBUG_ARRAY Log(LOG_DEBUG, "array_free(): %u bytes free'd (%u bytes still used at time of free()).", a->allocated, a->used); |