From f934aa1aeac9e04eb758dad67afc4f18e605d5f3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 1 Aug 2011 16:39:20 +0200 Subject: s3:include: make use of cli_state_capabilities() in SERVER_HAS_UNIX_CIFS() metze --- source3/include/smb_macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include') 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. -- cgit