summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-19 18:23:40 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-28 14:49:46 +0200
commit3c9c06ac05635dc0af3b29b15c3f568cbf57afdd (patch)
treec4eb482f08b98ab8cf81ddf6d06fcaa5d7fa5796 /source3/include
parentd8c0646a5db34a390ceeb853e50c2d098b992c85 (diff)
downloadsamba-3c9c06ac05635dc0af3b29b15c3f568cbf57afdd.tar.gz
samba-3c9c06ac05635dc0af3b29b15c3f568cbf57afdd.tar.bz2
samba-3c9c06ac05635dc0af3b29b15c3f568cbf57afdd.zip
s3:libsmb: get rid of cli_state_capabilities
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/include')
-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 ef4b9bfccd..048e560024 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -171,7 +171,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) (cli_state_capabilities(c) & CAP_UNIX)
+#define SERVER_HAS_UNIX_CIFS(c) (smb1cli_conn_capabilities(c->conn) & CAP_UNIX)
/****************************************************************************
Make a filename into unix format.