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

This commit is contained in:
Aric Stewart 2009-02-13 14:32:28 -06:00 committed by Alexandre Julliard
parent aaf83dc1b2
commit 32c3cf1db7
1 changed files with 1 additions and 1 deletions

View File

@ -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')