Fix dbgf printing of long strings

This commit is contained in:
Andrew Johnson
2018-06-26 18:15:02 -05:00
parent 6761726e95
commit e82f59a2d7
+1 -1
View File
@@ -964,7 +964,7 @@ static void printBuffer(
int chunk = (len > MAXLINE - 5) ? MAXLINE - 5 : len;
sprintf(pmsg, "\"%.*s\"", chunk, (char *)pbuffer + i);
len -= chunk;
len -= chunk; i += chunk;
if (len > 0)
strcat(pmsg, " +");
dbpr_msgOut(pMsgBuff, tab_size);