Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal capture.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Jun 2001 20:36:47 -0500 (CDT)
guy         2001/06/14 20:36:47 CDT

  Modified files:
    .                    capture.c 
  Log:
  If the capture child process sends the parent an error message with a
  byte count of zero, don't bother allocating a buffer for that message,
  as we wouldn't do anything with that buffer.
  
  Null-terminate the error message once we read it, before using it as a
  string.
  
  Revision  Changes    Path
  1.152     +18 -15    ethereal/capture.c