1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

SCP: Migrate some use of strcat() to sim_strlcat()

This commit is contained in:
Mark Pizzolato
2017-03-27 08:23:03 -07:00
parent ec11ecab87
commit f4b7d1fbf8
3 changed files with 10 additions and 10 deletions

View File

@@ -1144,7 +1144,7 @@ int load_pcap(void) {
char npcap_path[512] = "";
if (p_GetSystemDirectory (npcap_path, sizeof(npcap_path) - 7))
strcat (npcap_path, "\\Npcap");
sim_strlcat (npcap_path, "\\Npcap", sizeof(npcap_path));
if (p_SetDllDirectory(npcap_path))
hLib = LoadLibraryA(lib_name);
p_SetDllDirectory (NULL);