mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Fix bugs with DNS library on Windows
This commit is contained in:
parent
1bb52c223b
commit
34ed1fcbea
6 changed files with 12 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue