Commit 32c3cf1d authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

wininet: use debugstr_a in NETCON_getNextLine TRACE to avoid overflow on long lines.

parent aaf83dc1
...@@ -659,7 +659,7 @@ BOOL NETCON_getNextLine(WININET_NETCONNECTION *connection, LPSTR lpszBuffer, LPD ...@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment