torture4: Use strlcpy() with size check instead of snprintf()
commitb058c6d3ed1bcc28ac02265d345cbda9a1df66a4
authorVolker Lendecke <vl@samba.org>
Mon, 10 Feb 2020 20:45:00 +0000 (10 21:45 +0100)
committerMartin Schwenke <martins@samba.org>
Wed, 19 Feb 2020 09:38:39 +0000 (19 09:38 +0000)
tree923a132081b003e3bbba234452162c6b3c16ab7b
parentc9c0e69d17f401aea1cbc208be982f3e23536607
torture4: Use strlcpy() with size check instead of snprintf()

It's just test code, but we should give good examples where possible

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
source4/torture/libsmbclient/libsmbclient.c