s3: smbd: Modernize Avahi DEBUG macros and long if statements
authorOmri Mor <omor1@asu.edu>
Thu, 27 Jul 2017 00:10:06 +0000 (17:10 -0700)
committerRalph Boehme <slow@samba.org>
Thu, 27 Jul 2017 15:12:28 +0000 (17:12 +0200)
commit5445b2b8b07192ec28761311536072887e88e640
tree476d14bbe4cf6006c22c85c2176278f34c0e0f13
parenta2625c444554fc347b8339dbb9fc2243127ffb21
s3: smbd: Modernize Avahi DEBUG macros and long if statements

DEBUG(10, (...)) => DBG_DEBUG(...)
if (long... < 0) => ret = long; if (ret < 0)

Signed-off-by: Omri Mor <omri50@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Jul 27 17:12:28 CEST 2017 on sn-devel-144
source3/smbd/avahi_register.c