Wireshark-commits: [Wireshark-commits] rev 33124: /trunk/ /trunk/: tshark.c

Date: Mon, 07 Jun 2010 08:43:53 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=33124

User: guy
Date: 2010/06/07 01:43 AM

Log:
 If we get an error reading the capture file, don't give up - run the
 taps, etc., so we at least print the statistics for the packets we
 *could* read.
 
 Also, if we're printing packet data, and the standard output and
 standard error are going to the same place, before printing the error
 message for that error, flush the standard output and print a newline to
 the standard error, so the error appears after all the packet data, and
 has a newline separating it from the packet data.
 
 This fixes bug 4845.

Directory: /trunk/
  Changes    Path          Action
  +25 -4     tshark.c      Modified