svn commit: samba r5593 - in branches/SAMBA_3_0/source/rpcclient: .

jmcd at samba.org jmcd at samba.org
Mon Feb 28 11:13:22 GMT 2005


Author: jmcd
Date: 2005-02-28 11:13:22 +0000 (Mon, 28 Feb 2005)
New Revision: 5593

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

Log:
More reversal of accidental commit.

Modified:
   branches/SAMBA_3_0/source/rpcclient/rpcclient.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpcclient/rpcclient.c
===================================================================
--- branches/SAMBA_3_0/source/rpcclient/rpcclient.c	2005-02-28 11:11:55 UTC (rev 5592)
+++ branches/SAMBA_3_0/source/rpcclient/rpcclient.c	2005-02-28 11:13:22 UTC (rev 5593)
@@ -100,7 +100,7 @@
 
 static char* next_command (char** cmdstr)
 {
-	static char  		command[10000];
+	static pstring 		command;
 	char			*p;
 	
 	if (!cmdstr || !(*cmdstr))
@@ -109,7 +109,7 @@
 	p = strchr_m(*cmdstr, ';');
 	if (p)
 		*p = '\0';
-	strncpy(command, *cmdstr, sizeof(command));
+	pstrcpy(command, *cmdstr);
 	if (p)
 		*cmdstr = p + 1;
 	else



More information about the samba-cvs mailing list