svn commit: samba r5971 - branches/SAMBA_3_0/source/utils trunk/source/utils

gd at samba.org gd at samba.org
Tue Mar 22 21:24:16 GMT 2005


Author: gd
Date: 2005-03-22 21:24:16 +0000 (Tue, 22 Mar 2005)
New Revision: 5971

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5971

Log:
Check for the correct cli-struct when copying files.
Good catch from Lars Mueller <lmuelle at suse.de>.

Guenther

Modified:
   branches/SAMBA_3_0/source/utils/net_rpc_printer.c
   trunk/source/utils/net_rpc_printer.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/net_rpc_printer.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net_rpc_printer.c	2005-03-22 21:22:59 UTC (rev 5970)
+++ branches/SAMBA_3_0/source/utils/net_rpc_printer.c	2005-03-22 21:24:16 UTC (rev 5971)
@@ -466,7 +466,7 @@
 	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; 
 		
 

Modified: trunk/source/utils/net_rpc_printer.c
===================================================================
--- trunk/source/utils/net_rpc_printer.c	2005-03-22 21:22:59 UTC (rev 5970)
+++ trunk/source/utils/net_rpc_printer.c	2005-03-22 21:24:16 UTC (rev 5971)
@@ -466,7 +466,7 @@
 	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; 
 		
 



More information about the samba-cvs mailing list