wininet: use debugstr_a in NETCON_getNextLine TRACE to avoid overflow on long lines.
This commit is contained in:
parent
aaf83dc1b2
commit
32c3cf1db7
|
@ -659,7 +659,7 @@ BOOL NETCON_getNextLine(WININET_NETCONNECTION *connection, LPSTR lpszBuffer, LPD
|
||||||
{
|
{
|
||||||
lpszBuffer[nRecv++] = '\0';
|
lpszBuffer[nRecv++] = '\0';
|
||||||
*dwBuffer = nRecv;
|
*dwBuffer = nRecv;
|
||||||
TRACE(":%u %s\n", nRecv, lpszBuffer);
|
TRACE(":%u %s\n", nRecv, debugstr_a(lpszBuffer));
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
if (lpszBuffer[nRecv] != '\r')
|
if (lpszBuffer[nRecv] != '\r')
|
||||||
|
|
Loading…
Reference in New Issue