summaryrefslogtreecommitdiff
path: root/source3/client/clitar.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-04-21 05:52:34 -0700
committerJeremy Allison <jra@samba.org>2009-04-21 05:52:34 -0700
commitdfc79de607e94179114a8e1d0b0e56117f34595b (patch)
tree4e717d763a1c19f0cb1926804e6f977d56a0cec5 /source3/client/clitar.c
parent4024abb0a80e5ec10dd2f86b378bcea89b919050 (diff)
downloadsamba-dfc79de607e94179114a8e1d0b0e56117f34595b.tar.gz
samba-dfc79de607e94179114a8e1d0b0e56117f34595b.tar.bz2
samba-dfc79de607e94179114a8e1d0b0e56117f34595b.zip
Make cli_mkdir async. Change it to return NTSTATUS.
Jeremy.
Diffstat (limited to 'source3/client/clitar.c')
-rw-r--r--source3/client/clitar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index c9f3e87c4d..7512583e19 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -555,7 +555,7 @@ static bool ensurepath(const char *fname)
safe_strcat(partpath, p, strlen(fname) + 1);
if (!cli_chkpath(cli, partpath)) {
- if (!cli_mkdir(cli, partpath)) {
+ if (!NT_STATUS_IS_OK(cli_mkdir(cli, partpath))) {
SAFE_FREE(partpath);
SAFE_FREE(ffname);
DEBUG(0, ("Error mkdir %s\n", cli_errstr(cli)));