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

Date: Tue, 02 Jun 2009 17:22:43 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=28602

User: stig
Date: 2009/06/02 10:22 AM

Log:
 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.

Directory: /trunk/
  Changes    Path          Action
  +2 -2      editcap.c     Modified