diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-04-21 15:19:50 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-04-21 15:19:50 +0200 |
commit | 9b33766fbb13fc2ab82e209607db37f5888ddc2b (patch) | |
tree | c767a5ad36db87beb2d4076845f9bd48d22a8cd6 /source3/utils/net_rpc_printer.c | |
parent | 47ec66bda3e4264f93f142a3903052c4bc6dbec8 (diff) | |
parent | 2eff2de2f81374483df99757046f1d5ee4050155 (diff) | |
download | samba-9b33766fbb13fc2ab82e209607db37f5888ddc2b.tar.gz samba-9b33766fbb13fc2ab82e209607db37f5888ddc2b.tar.bz2 samba-9b33766fbb13fc2ab82e209607db37f5888ddc2b.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
Diffstat (limited to 'source3/utils/net_rpc_printer.c')
-rw-r--r-- | source3/utils/net_rpc_printer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c index 9721628f02..477ddf7f26 100644 --- a/source3/utils/net_rpc_printer.c +++ b/source3/utils/net_rpc_printer.c @@ -406,7 +406,7 @@ NTSTATUS net_copy_file(struct net_context *c, DEBUGADD(3,("creating dir %s on the destination server\n", dst_name)); - if (!cli_mkdir(cli_share_dst, dst_name)) { + if (!NT_STATUS_IS_OK(cli_mkdir(cli_share_dst, dst_name))) { DEBUG(0,("cannot create directory %s: %s\n", dst_name, cli_errstr(cli_share_dst))); nt_status = NT_STATUS_NO_SUCH_FILE; @@ -555,7 +555,7 @@ static NTSTATUS check_arch_dir(struct cli_state *cli_share, const char *short_ar DEBUG(10,("creating print-driver dir for architecture: %s\n", short_archi)); - if (!cli_mkdir(cli_share, dir)) { + if (!NT_STATUS_IS_OK(cli_mkdir(cli_share, dir))) { DEBUG(1,("cannot create directory %s: %s\n", dir, cli_errstr(cli_share))); nt_status = NT_STATUS_NO_SUCH_FILE; |