mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
changed spacing and using std::string instead of TCHAR
This commit is contained in:
1 parent
ea7b78ef1c
commit
299e362d11
2 files changed
+13
-14
No files matched your search
@@ -3,10 +3,10 @@
|
||||
|
||||
BOOL GetComputerName(LPTSTR name, LPDWORD len)
|
||||
{
|
||||
int host = gethostname(name, HOST_NAME_MAX);
|
||||
if(host == 0)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
int host = gethostname(name, HOST_NAME_MAX);
|
||||
if(host == 0)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
Reference in new issue
Block a user