Skip to content

Commit af105d5

Browse files
committed
Use pcapint_strlcpy() in pcap-haiku.c.
Haiku has strlcpy(), but let's keep the code style consistent.
1 parent be94835 commit af105d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcap-haiku.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ pcap_inject_haiku(pcap_t *handle, const void *buffer _U_, int size _U_)
215215
{
216216
// Haiku currently (hrev57588) does not support sending raw packets.
217217
// https://dev.haiku-os.org/ticket/18810
218-
strlcpy(handle->errbuf, "Sending packets isn't supported yet",
218+
pcapint_strlcpy(handle->errbuf, "Sending packets isn't supported yet",
219219
PCAP_ERRBUF_SIZE);
220220
return PCAP_ERROR;
221221
}

0 commit comments

Comments
 (0)