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:
e1230f6
)
smbd: Use NULL instead of 0 for a pointer type
author
Volker Lendecke
<vl@samba.org>
Wed, 4 Dec 2019 13:43:02 +0000
(14:43 +0100)
committer
Ralph Boehme
<slow@samba.org>
Mon, 9 Dec 2019 16:10:38 +0000
(16:10 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/server.c
b/source3/smbd/server.c
index 6e7292079c6d6a3352408265b72d49999b42875a..f96a42398aeba1f4aea3893e9726db461f032f9e 100644
(file)
--- a/
source3/smbd/server.c
+++ b/
source3/smbd/server.c
@@
-419,7
+419,7
@@
static bool smbd_notifyd_init(struct messaging_context *msg, bool interactive,
}
if (pid != 0) {
- if (am_parent !=
0
) {
+ if (am_parent !=
NULL
) {
add_child_pid(am_parent, pid);
}
*ppid = pid_to_procid(pid);