Changeset 6489 for trunk/licq

Show
Ignore:
Timestamp:
08/17/08 23:47:18 (4 months ago)
Author:
flynd
Message:

Dump entire packages, not just the first 0x180 bytes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/src/buffer.cpp

    r6447 r6489  
    879879char *CBuffer::print(char *&p) 
    880880{ 
    881    static const unsigned long MAX_DATA_SIZE = 8 * 1024; 
    882881   static const char BUFFER_BLANKS[] = "     "; 
    883882   static const unsigned long SPACE_PER_LINE = 
     
    887886   char szAscii[16 + 1]; 
    888887   szAscii[16] = '\0'; 
    889  
    890    if (nBytesToPrint > MAX_DATA_SIZE) 
    891    { 
    892      nBytesToPrint = MAX_DATA_SIZE; 
    893    } 
    894888 
    895889   unsigned short nLenBuf = ((int)(nBytesToPrint / 16) + 1) *