s3:include: make use of cli_state_capabilities() in SERVER_HAS_UNIX_CIFS()
authorStefan Metzmacher <metze@samba.org>
Mon, 1 Aug 2011 14:39:20 +0000 (16:39 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 2 Aug 2011 02:54:28 +0000 (04:54 +0200)
metze

source3/include/smb_macros.h

index 37ea1b42925b935a5bee4ad363845cbb0cfcdbee..aba1455864e84bb62798d101745060026be30a3a 100644 (file)
@@ -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.