diff options
Diffstat (limited to 'source/lib/replace.c')
-rw-r--r-- | source/lib/replace.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/lib/replace.c b/source/lib/replace.c index b972c745b08..45c302f498a 100644 --- a/source/lib/replace.c +++ b/source/lib/replace.c @@ -21,9 +21,12 @@ #include "includes.h" +extern int DEBUGLEVEL; + void replace_dummy(void); void replace_dummy(void) {} + #ifndef HAVE_FTRUNCATE /******************************************************************* ftruncate for operating systems that don't have it @@ -191,7 +194,7 @@ Corrections by richard.kettlewell@kewill.com } endgrent(); ret = sys_setgroups(i,grouplst); - SAFE_FREE(grouplst); + free((char *)grouplst); return ret; #endif /* HAVE_SETGROUPS */ } |