Fix bugs with DNS library on Windows

This commit is contained in:
Justine Tunney 2024-01-03 17:32:16 -08:00
parent 1bb52c223b
commit 34ed1fcbea
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
6 changed files with 12 additions and 4 deletions

View file

@ -23,6 +23,6 @@ const char *GetProtocolsTxtPath(char *buf, size_t size) {
if (!IsWindows()) {
return "/etc/protocols";
} else {
return GetSystemDirectoryPath(buf, "drivers\\etc\\protocol", size);
return GetSystemDirectoryPath(buf, "\\drivers\\etc\\protocol", size);
}
}