From: Volker Lendecke Date: Wed, 4 Dec 2019 13:43:02 +0000 (+0100) Subject: smbd: Use NULL instead of 0 for a pointer type X-Git-Tag: ldb-2.1.0~380 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f576c02bf9365ff538a46dadfe8ce1f1aa19664c;p=thirdparty%2Fsamba.git smbd: Use NULL instead of 0 for a pointer type Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 6e7292079c6..f96a42398ae 100644 --- 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);