summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-03-22 21:24:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:13 -0500
commitbf427362514bc24a0f433ffecdea7da2db2bece1 (patch)
tree2722e19fa845f8873c684ecce1133ce7a5cb25c4 /source3/utils
parentf8f090ad2471056ae77705ce55eddf06419ada3d (diff)
downloadsamba-bf427362514bc24a0f433ffecdea7da2db2bece1.tar.gz
samba-bf427362514bc24a0f433ffecdea7da2db2bece1.tar.bz2
samba-bf427362514bc24a0f433ffecdea7da2db2bece1.zip
r5971: Check for the correct cli-struct when copying files.
Good catch from Lars Mueller <lmuelle@suse.de>. Guenther (This used to be commit 90e2383bc50e8312ad37f5869630130e0cd6ae78)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_printer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index 4b53dec36e..9f5730994e 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -466,7 +466,7 @@ NTSTATUS net_copy_file(TALLOC_CTX *mem_ctx,
if (!src_name || !dst_name)
goto out;
- if (cli_share_dst == NULL || cli_share_dst == NULL)
+ if (cli_share_src == NULL || cli_share_dst == NULL)
goto out;