summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clidfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index 4cf37a250b..ef3d0e8db3 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -293,9 +293,10 @@ static struct cli_state *cli_cm_connect(TALLOC_CTX *ctx,
if (referring_cli && referring_cli->posix_capabilities) {
uint16 major, minor;
uint32 caplow, caphigh;
- if (cli_unix_extensions_version(cli, &major,
+ if (cli_unix_extensions_version(node->cli, &major,
&minor, &caplow, &caphigh)) {
- cli_set_unix_extensions_capabilities(cli, major, minor,
+ cli_set_unix_extensions_capabilities(node->cli,
+ major, minor,
caplow, caphigh);
}
}