summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-01 16:39:20 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-02 04:54:28 +0200
commitf934aa1aeac9e04eb758dad67afc4f18e605d5f3 (patch)
treec4f0de893b52c68cceb09cfa463ae7f821d71fc9
parent24c5427810e76c733de8141ff3ad7c65fcb8ec91 (diff)
downloadsamba-f934aa1aeac9e04eb758dad67afc4f18e605d5f3.tar.gz
samba-f934aa1aeac9e04eb758dad67afc4f18e605d5f3.tar.bz2
samba-f934aa1aeac9e04eb758dad67afc4f18e605d5f3.zip
s3:include: make use of cli_state_capabilities() in SERVER_HAS_UNIX_CIFS()
metze
-rw-r--r--source3/include/smb_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index 37ea1b4292..aba1455864 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -174,7 +174,7 @@ copy an IP address from one buffer to another
Return True if a server has CIFS UNIX capabilities.
********************************************************************/
-#define SERVER_HAS_UNIX_CIFS(c) ((c)->capabilities & CAP_UNIX)
+#define SERVER_HAS_UNIX_CIFS(c) (cli_state_capabilities(c) & CAP_UNIX)
/****************************************************************************
Make a filename into unix format.