From: Günther Deschner Date: Tue, 22 Mar 2005 21:24:16 +0000 (+0000) Subject: r5971: Check for the correct cli-struct when copying files. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5063 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=90e2383bc50e8312ad37f5869630130e0cd6ae78;p=thirdparty%2Fsamba.git r5971: Check for the correct cli-struct when copying files. Good catch from Lars Mueller . Guenther --- diff --git a/source/utils/net_rpc_printer.c b/source/utils/net_rpc_printer.c index 4b53dec36e9..9f5730994e6 100644 --- a/source/utils/net_rpc_printer.c +++ b/source/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;