summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-01-22 13:14:41 +0100
committerStefan Metzmacher <metze@samba.org>2013-01-23 16:29:30 +0100
commitf9868b7ffd44a76155dbac1dc4b12f2d89af5380 (patch)
tree653f5999f8b5d2622f247d64e0f3e4e4c12b6a78 /source3
parent3d1abb93280fbfe01ed899fa4685290ce3960ed8 (diff)
downloadsamba-f9868b7ffd44a76155dbac1dc4b12f2d89af5380.tar.gz
samba-f9868b7ffd44a76155dbac1dc4b12f2d89af5380.tar.xz
samba-f9868b7ffd44a76155dbac1dc4b12f2d89af5380.zip
smbd: Fix a NULL vs false return error
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
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;