From: Björn Jacke Date: Mon, 23 Mar 2009 11:26:03 +0000 (+0100) Subject: s3:dsgetdcname: use parentheses in if condition to make negation clear X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca58d12b6513beb40c14fcab2758cf21af0179f3;p=thirdparty%2Fsamba.git s3:dsgetdcname: use parentheses in if condition to make negation clear Signed-off-by: Günther Deschner (cherry picked from commit 87b428e424e2e3cca975ecd0efed327e72950a1d) --- diff --git a/source/libsmb/dsgetdcname.c b/source/libsmb/dsgetdcname.c index 72c3c734f84..e191307743b 100644 --- a/source/libsmb/dsgetdcname.c +++ b/source/libsmb/dsgetdcname.c @@ -439,7 +439,7 @@ static uint32_t get_cldap_reply_server_flags(union nbt_cldap_netlogon *r, /**************************************************************** ****************************************************************/ -#define RETURN_ON_FALSE(x) if (!x) return false; +#define RETURN_ON_FALSE(x) if (!(x)) return false; static bool check_cldap_reply_required_flags(uint32_t ret_flags, uint32_t req_flags)