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/?a=commitdiff_plain;h=deba6c883965f99bf70744a5a4fb8124a73910fd;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 a33f684046b..77c2dcfac42 100644 --- a/source/libsmb/dsgetdcname.c +++ b/source/libsmb/dsgetdcname.c @@ -311,7 +311,7 @@ static uint32_t get_cldap_reply_server_flags(struct netlogon_samlogon_response * /**************************************************************** ****************************************************************/ -#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)