From: Volker Lendecke Date: Tue, 22 Jan 2013 12:14:41 +0000 (+0100) Subject: smbd: Fix a NULL vs false return error X-Git-Tag: ldb-1.1.15~27 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9868b7ffd44a76155dbac1dc4b12f2d89af5380;p=thirdparty%2Fsamba.git smbd: Fix a NULL vs false return error Reviewed-by: Stefan Metzmacher --- diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 00472db539e..57fe7b6455a 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -282,7 +282,7 @@ static bool smbd_parent_notify_init(TALLOC_CTX *mem_ctx, state = talloc(mem_ctx, struct smbd_parent_notify_state); if (state == NULL) { - return NULL; + return false; } state->msg = msg; state->ev = ev;