1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

r5593: More reversal of accidental commit.

(This used to be commit ec78c3f2a2e38abe96132475a22bfd52c850b001)
This commit is contained in:
Jim McDonough 2005-02-28 11:13:22 +00:00 committed by Gerald (Jerry) Carter
parent de1c756430
commit bd0e666503

View File

@ -100,7 +100,7 @@ static char **completion_fn(const char *text, int start, int end)
static char* next_command (char** cmdstr)
{
static char command[10000];
static pstring command;
char *p;
if (!cmdstr || !(*cmdstr))
@ -109,7 +109,7 @@ static char* next_command (char** cmdstr)
p = strchr_m(*cmdstr, ';');
if (p)
*p = '\0';
strncpy(command, *cmdstr, sizeof(command));
pstrcpy(command, *cmdstr);
if (p)
*cmdstr = p + 1;
else