Wireshark-commits: [Wireshark-commits] rev 33544: /trunk-1.2/ /trunk-1.2/: editcap.c

Date: Thu, 15 Jul 2010 21:30:15 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=33544

User: gerald
Date: 2010/07/15 02:30 PM

Log:
 Copy over revisions from the trunk:
 
 ------------------------------------------------------------------------
 r28602 | stig | 2009-06-02 10:22:40 -0700 (Tue, 02 Jun 2009) | 5 lines
 Changed paths:
    M /trunk/editcap.c
 
 Only call wtap_dump_close() if we have an open file.
 
 We can have a situation where a file only contains a valid file header
 without any packages, so this will avoid a crash.
 ------------------------------------------------------------------------
 r28617 | stig | 2009-06-02 16:14:19 -0700 (Tue, 02 Jun 2009) | 3 lines
 Changed paths:
    M /trunk/editcap.c
 
 If no valid packages was found in the input file we write an empty
 header in the output file.  This way we at least create a file.
 ------------------------------------------------------------------------
 
 Fixes bug 5009.

Directory: /trunk-1.2/
  Changes    Path          Action
  +17 -1     editcap.c     Modified