From 0c464df22b4d1a488ebe6ae889305a76d517f3d8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 3 May 2011 13:14:46 -0700 Subject: Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here as the original macro auto-added the -1. --- source3/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index c734a24a6c..75d57165cf 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -702,7 +702,7 @@ static void add_to_do_list_queue(const char *entry) } } if (do_list_queue) { - safe_strcpy_base(do_list_queue + do_list_queue_end, + strlcpy_base(do_list_queue + do_list_queue_end, entry, do_list_queue, do_list_queue_size); do_list_queue_end = new_end; DEBUG(4,("added %s to do_list_queue (start=%d, end=%d)\n", -- cgit