smbd: Fix a NULL vs false return error
authorVolker Lendecke <vl@samba.org>
Tue, 22 Jan 2013 12:14:41 +0000 (13:14 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 23 Jan 2013 15:29:30 +0000 (16:29 +0100)
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/server.c

index 00472db539e6fde6f55827baca5f2fa311ca50d1..57fe7b6455af2715f0e22d88128ada216518d3a7 100644 (file)
@@ -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;