mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-25 23:14:54 +02:00
Temporary fix to gethostname() Unicode version
This commit is contained in:
parent
92ddf4f9e1
commit
3920d76cb5
@ -1003,6 +1003,7 @@ w32_gethostname(char *name_utf8, size_t len) {
|
||||
// memcpy(name_utf8, tmp_name_utf8, strlen(tmp_name_utf8) + 1);
|
||||
// free(tmp_name_utf8);
|
||||
// return 0;
|
||||
return gethostname(name_utf8, len);
|
||||
}
|
||||
else
|
||||
return gethostname(name_utf8, len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user