diff options
author | Björn Jacke <bj@sernet.de> | 2009-03-23 12:26:03 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-03-24 10:20:12 +0100 |
commit | 87b428e424e2e3cca975ecd0efed327e72950a1d (patch) | |
tree | bedde85ad4d1b0b8c40bb7ba16e632ee09225acc /source3/libsmb | |
parent | 34ee56eadce9f84d52a1c9668cf321e04ede2bc0 (diff) | |
download | samba-87b428e424e2e3cca975ecd0efed327e72950a1d.tar.gz samba-87b428e424e2e3cca975ecd0efed327e72950a1d.tar.bz2 samba-87b428e424e2e3cca975ecd0efed327e72950a1d.zip |
s3:dsgetdcname: use parentheses in if condition to make negation clear
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/dsgetdcname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index 3491544175..1064a63d97 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/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) |