Commit 60da2f87 authored by Alexandre Julliard's avatar Alexandre Julliard

dnsapi/tests: Avoid wcsncpy().

parent c45d792d
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment