dnsapi/tests: Avoid wcsncpy().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c45d792de3
commit
60da2f877d
|
@ -75,7 +75,7 @@ static void test_DnsQuery(void)
|
|||
|
||||
trace("target %s, port %d\n", wine_dbgstr_w(rec->Data.Srv.pNameTarget), rec->Data.Srv.wPort);
|
||||
|
||||
wcsncpy(name, rec->Data.Srv.pNameTarget, ARRAY_SIZE(name));
|
||||
lstrcpynW(name, rec->Data.Srv.pNameTarget, ARRAY_SIZE(name));
|
||||
DnsRecordListFree(rec, DnsFreeRecordList);
|
||||
|
||||
/* IPv4 */
|
||||
|
|
Loading…
Reference in New Issue