]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r5971: Check for the correct cli-struct when copying files.
authorGünther Deschner <gd@samba.org>
Tue, 22 Mar 2005 21:24:16 +0000 (21:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:13 +0000 (10:56 -0500)
Good catch from Lars Mueller <lmuelle@suse.de>.

Guenther

source/utils/net_rpc_printer.c

index 4b53dec36e99d2d1c6406c6fc3dd2d859470dc2d..9f5730994e6f0dd66eef09814e36ba65d9bd6c71 100644 (file)
@@ -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;