summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;