\r
#include <sys/socket.h>\r
\r
-struct hostent * _gethostbydnsname(const char *, int);\r
+struct hostent * _gethostbydnsname (const char *, int);\r
\r
-char mBuffer [65536];\r
+char mBuffer[65536];\r
\r
\r
/**\r
//\r
pHost = _gethostbydnsname ( Argv[1], AF_INET );\r
if ( NULL == pHost ) {\r
- Print ( L"ERROR - host not found, errno: %d\r\n", errno );\r
+ Print ( L"ERROR - host not found, h_errno: %d\r\n", h_errno );\r
}\r
else {\r
pIpAddress = (UINT8 *)pHost->h_addr;\r