diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-03 13:14:46 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-04 12:12:14 -0700 |
commit | 0c464df22b4d1a488ebe6ae889305a76d517f3d8 (patch) | |
tree | 78d932cf007185e02918ef451e993359f78a9e50 /source3/client | |
parent | 017e0c8d95fe8212b006e1c14aef8d96fed30674 (diff) | |
download | samba-0c464df22b4d1a488ebe6ae889305a76d517f3d8.tar.gz samba-0c464df22b4d1a488ebe6ae889305a76d517f3d8.tar.bz2 samba-0c464df22b4d1a488ebe6ae889305a76d517f3d8.zip |
Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here as the original macro auto-added the -1.
Diffstat (limited to 'source3/client')
-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 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", |