commit - 429f85b77a203bb367a2e5ed2244e7c200db0295
commit + c93d089736bdcfac111199573d249e21b9d71186
blob - 4f9a8855e043510df2c10a939ca115ef6743e6da
blob + 6a70d088db5fcb40c05c57597c02ad41299a76bb
--- src/ngircd/lists.c
+++ src/ngircd/lists.c
#include "portab.h"
-static char UNUSED id[] = "$Id: lists.c,v 1.20 2006/12/07 17:57:20 fw Exp $";
+static char UNUSED id[] = "$Id: lists.c,v 1.21 2007/01/29 21:13:26 fw Exp $";
#include "imp.h"
#include <assert.h>
newelem = malloc(sizeof(struct list_elem));
if( ! newelem ) {
Log( LOG_EMERG, "Can't allocate memory for new Ban/Invite entry!" );
- return NULL;
+ return false;
}
strlcpy( newelem->mask, Mask, sizeof( newelem->mask ));