From f9868b7ffd44a76155dbac1dc4b12f2d89af5380 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 22 Jan 2013 13:14:41 +0100 Subject: smbd: Fix a NULL vs false return error Reviewed-by: Stefan Metzmacher --- source3/smbd/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 00472db539..57fe7b6455 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; -- cgit