summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-14 00:40:21 +0100
committerVolker Lendecke <vl@samba.org>2009-11-14 11:03:28 +0100
commitf668e4104f5fc5e3c0a48502e30163b1ffc777ae (patch)
treeb06b050eebd7aa051d068da55b66bfc48f038d3c /source3/client
parentf38edcd61a556815db2ecfaa265a46e859e980f6 (diff)
downloadsamba-f668e4104f5fc5e3c0a48502e30163b1ffc777ae.tar.gz
samba-f668e4104f5fc5e3c0a48502e30163b1ffc777ae.tar.bz2
samba-f668e4104f5fc5e3c0a48502e30163b1ffc777ae.zip
s3: Convert cli_set_unix_extensions_capabilities_send to async
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index f81762a563..6773e6d90a 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -2531,8 +2531,11 @@ static int cmd_posix(void)
d_printf("Server supports CIFS capabilities %s\n", caps);
- if (!cli_set_unix_extensions_capabilities(cli, major, minor, caplow, caphigh)) {
- d_printf("Can't set UNIX CIFS extensions capabilities. %s.\n", cli_errstr(cli));
+ status = cli_set_unix_extensions_capabilities(cli, major, minor,
+ caplow, caphigh);
+ if (!NT_STATUS_IS_OK(status)) {
+ d_printf("Can't set UNIX CIFS extensions capabilities. %s.\n",
+ nt_errstr(status));
return 1;
}