summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-07-17 03:53:43 +0000
committerTim Potter <tpot@samba.org>2003-07-17 03:53:43 +0000
commitbcd659f26aa8e41d24739ea0feb14decfdb675d6 (patch)
tree817f8bed010304335fda04ed5a31cd7ebdc753e6 /source3
parent4c53bb6b90fec8e03c812a70a84889fcdf3b1081 (diff)
downloadsamba-bcd659f26aa8e41d24739ea0feb14decfdb675d6.tar.gz
samba-bcd659f26aa8e41d24739ea0feb14decfdb675d6.tar.bz2
samba-bcd659f26aa8e41d24739ea0feb14decfdb675d6.zip
Don't use pstrcpy on non-pstrings.
(This used to be commit 3498624d941fe200b06f114ece3373d4c4cfb2d1)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c2
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));