diff options
author | Björn Jacke <bj@sernet.de> | 2009-03-23 12:26:03 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-03-27 13:06:55 +0100 |
commit | 4325963c86f148682f49876bd2eb71e97afc01f8 (patch) | |
tree | 458a3d3d4d6bf65dafd990837c452dab24af8a03 | |
parent | 1b089e285308b65452a17e4b9ed034430187d841 (diff) | |
download | samba-4325963c86f148682f49876bd2eb71e97afc01f8.tar.gz |
s3:dsgetdcname: use parentheses in if condition to make negation clear
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 87b428e424e2e3cca975ecd0efed327e72950a1d)
(cherry picked from commit ca58d12b6513beb40c14fcab2758cf21af0179f3)
-rw-r--r-- | source/libsmb/dsgetdcname.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |