Ethereal-cvs: [Ethereal-cvs] Rev 12508: /trunk/: tethereal.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Thu, 11 Nov 2004 11:50:37 -0000
User: guy
Date: 2004/11/11 05:50 AM

Log:
 As per Sebastian Felis, don't assume that doubling the size of the line
 buffer will necessarily be sufficient to make it big enough to handle
 what's being added to the buffer - continue doubling the size until it
 is.
 
 Put the code to maintain the line buffer into a routine.
 
 As that buffer is maintained as being large enough to handle what's
 being put into it, there's no need to use "snprintf()" to print into it.

Directory: /trunk/
  Changes    Path           Action
  +34 -34    tethereal.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=12508&view=rev