git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24c5427
)
s3:include: make use of cli_state_capabilities() in SERVER_HAS_UNIX_CIFS()
author
Stefan Metzmacher
<metze@samba.org>
Mon, 1 Aug 2011 14:39:20 +0000
(16:39 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 2 Aug 2011 02:54:28 +0000
(
04:54
+0200)
metze
source3/include/smb_macros.h
patch
|
blob
|
history
diff --git
a/source3/include/smb_macros.h
b/source3/include/smb_macros.h
index 37ea1b42925b935a5bee4ad363845cbb0cfcdbee..aba1455864e84bb62798d101745060026be30a3a 100644
(file)
--- 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.