mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 18:07:59 +00:00
Remove rogue debug statement
[originally from svn r855]
This commit is contained in:
parent
3f7bf81cf6
commit
cd9bab9b52
2
winnet.c
2
winnet.c
@ -216,7 +216,7 @@ SockAddr sk_namelookup(char *host, char **canonicalname)
|
|||||||
{
|
{
|
||||||
LPVOID lpMsgBuf;
|
LPVOID lpMsgBuf;
|
||||||
FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, err, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR)&lpMsgBuf, 0, NULL);
|
FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL, err, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR)&lpMsgBuf, 0, NULL);
|
||||||
debug(("Error %ld: %s (h=%lx)\n", err, lpMsgBuf, h));
|
/*debug(("Error %ld: %s (h=%lx)\n", err, lpMsgBuf, h));*/
|
||||||
/* Free the buffer. */
|
/* Free the buffer. */
|
||||||
LocalFree(lpMsgBuf);
|
LocalFree(lpMsgBuf);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user