changed spacing and using std::string instead of TCHAR

This commit is contained in:
Aaron Katz committed 2015-04-09 15:16:37 -07:00
1 parent ea7b78ef1c
commit 299e362d11
2 files changed
+13 -14

No files matched your search

+6 -6
View File
@@ -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;
}