From 32c3cf1db7747af1582235dc7c9ce12b9a3fb900 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Fri, 13 Feb 2009 14:32:28 -0600 Subject: [PATCH] wininet: use debugstr_a in NETCON_getNextLine TRACE to avoid overflow on long lines. --- dlls/wininet/netconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wininet/netconnection.c b/dlls/wininet/netconnection.c index c5734072935..ccf2928902b 100644 --- a/dlls/wininet/netconnection.c +++ b/dlls/wininet/netconnection.c @@ -659,7 +659,7 @@ BOOL NETCON_getNextLine(WININET_NETCONNECTION *connection, LPSTR lpszBuffer, LPD { lpszBuffer[nRecv++] = '\0'; *dwBuffer = nRecv; - TRACE(":%u %s\n", nRecv, lpszBuffer); + TRACE(":%u %s\n", nRecv, debugstr_a(lpszBuffer)); return TRUE; } if (lpszBuffer[nRecv] != '\r')