From bf427362514bc24a0f433ffecdea7da2db2bece1 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 22 Mar 2005 21:24:16 +0000 Subject: r5971: Check for the correct cli-struct when copying files. Good catch from Lars Mueller . Guenther (This used to be commit 90e2383bc50e8312ad37f5869630130e0cd6ae78) --- source3/utils/net_rpc_printer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit