diff options
-rw-r--r-- | source3/client/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index d9c3a7aa1b..a132b70584 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -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)); |