diff options
author | Volker Lendecke <vl@samba.org> | 2014-06-05 10:04:43 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-06-10 19:19:13 +0200 |
commit | 7c2b5e77b00bdf776619458920fe74981427ee6a (patch) | |
tree | 9cece85a0e080813cc18d28d624753496803f47d /source3/smbd/smb2_ioctl_network_fs.c | |
parent | e22a0675c222077bee25c4ef1da5d00996d2c199 (diff) | |
download | samba-7c2b5e77b00bdf776619458920fe74981427ee6a.tar.gz samba-7c2b5e77b00bdf776619458920fe74981427ee6a.tar.xz samba-7c2b5e77b00bdf776619458920fe74981427ee6a.zip |
Use GUID_equal in a few places
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/smb2_ioctl_network_fs.c')
-rw-r--r-- | source3/smbd/smb2_ioctl_network_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_ioctl_network_fs.c b/source3/smbd/smb2_ioctl_network_fs.c index 11843a49a4e..5e0dc10ab73 100644 --- a/source3/smbd/smb2_ioctl_network_fs.c +++ b/source3/smbd/smb2_ioctl_network_fs.c @@ -395,7 +395,7 @@ static NTSTATUS fsctl_validate_neg_info(TALLOC_CTX *mem_ctx, } } - if (GUID_compare(&in_guid, &conn->smb2.client.guid) != 0) { + if (!GUID_equal(&in_guid, &conn->smb2.client.guid)) { *disconnect = true; return NT_STATUS_ACCESS_DENIED; } |