1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Don't use pstrcpy on non-pstrings.

(This used to be commit 3498624d94)
This commit is contained in:
Tim Potter 2003-07-17 03:53:43 +00:00
parent 4c53bb6b90
commit bcd659f26a

View File

@ -438,7 +438,7 @@ static void add_to_do_list_queue(const char* entry)
}
if (do_list_queue)
{
pstrcpy(do_list_queue + do_list_queue_end, entry);
memcpy(do_list_queue + do_list_queue_end, entry, strlen(entry) + 1);
do_list_queue_end = new_end;
DEBUG(4,("added %s to do_list_queue (start=%d, end=%d)\n",
entry, (int)do_list_queue_start, (int)do_list_queue_end));