mirror of
https://github.com/simh/simh.git
synced 2026-01-25 11:46:37 +00:00
SCP: add generic length limted and case independent string for all platforms
This commit is contained in:
@@ -1144,7 +1144,7 @@ int load_pcap(void) {
|
||||
char npcap_path[512] = "";
|
||||
|
||||
if (p_GetSystemDirectory (npcap_path, sizeof(npcap_path) - 7))
|
||||
sim_strlcat (npcap_path, "\\Npcap", sizeof(npcap_path));
|
||||
strlcat (npcap_path, "\\Npcap", sizeof(npcap_path));
|
||||
if (p_SetDllDirectory(npcap_path))
|
||||
hLib = LoadLibraryA(lib_name);
|
||||
p_SetDllDirectory (NULL);
|
||||
|
||||
Reference in New Issue
Block a user