git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d1abb9
)
smbd: Fix a NULL vs false return error
author
Volker Lendecke
<vl@samba.org>
Tue, 22 Jan 2013 12:14:41 +0000
(13:14 +0100)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/source3/smbd/server.c
b/source3/smbd/server.c
index 00472db539e6fde6f55827baca5f2fa311ca50d1..57fe7b6455af2715f0e22d88128ada216518d3a7 100644
(file)
--- 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;