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

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 23 Sep 1999 00:20:22 -0500 (CDT)
guy         1999/09/23 00:20:20 CDT

  Modified files:
    .                    util.c 
  Log:
  Fix the calculation of the temporary file name length in
  "try_tempfile()" - the first component of the name comes from the "dir"
  argument, so use its length, not the length of the string in the buffer
  it should fill in (said buffer may contain garbage, which may not *be* a
  C string).
  
  Revision  Changes    Path
  1.20      +2 -2      ethereal/util.c