Wireshark-commits: [Wireshark-commits] rev 46819: /trunk/wiretap/ /trunk/wiretap/: cosine.c dbs-eth

Date: Thu, 27 Dec 2012 22:59:39 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46819

User: guy
Date: 2012/12/27 02:59 PM

Log:
 Errors take precedence over EOF; use file_error() after operations that
 return an "EOF or error" indication - an EOF without an error will
 return 0.
 
 In iseries_seek_next_packet(), return an error code of WTAP_ERR_BAD_FILE
 and an appropriate error message if we don't find a packet header within
 the next ISERIES_MAX_TRACE_LEN lines, don't just return -1 and leave the
 error information unchanged.
 
 Setting an argument variable before returning has no effect, so don't do
 it (so that we don't leave the mistaken impression that it *is* doing
 something).
 
 Clean up indentation.

Directory: /trunk/wiretap/
  Changes    Path                Action
  +10 -19    cosine.c            Modified
  +19 -29    dbs-etherwatch.c    Modified
  +2 -7      eyesdn.c            Modified
  +50 -60    iseries.c           Modified
  +10 -18    netscreen.c         Modified
  +10 -12    peektagged.c        Modified
  +2 -7      toshiba.c           Modified
  +61 -75    vms.c               Modified