Wireshark-commits: [Wireshark-commits] rev 49347: /trunk/wiretap/ /trunk/wiretap/: camins.c

Date: Thu, 16 May 2013 22:01:45 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49347

User: guy
Date: 2013/05/16 03:01 PM

Log:
 Pull the code to set the wtap_pkthdr into a common routine, so it's done
 for read and seek-read.
 
 Clarify a comment.  (wtap_open_offline() only rewinds the file before
 calling each open routine; once one of those routines has decided the
 file belongs to it, the seek offset belongs to it, so it needs to do all
 the seeking necessary - files with a file header *don't* want a rewind,
 they want to leave the seek offset positioned *past* the file header so
 it can read the records that follow the file header.)

Directory: /trunk/wiretap/
  Changes    Path          Action
  +16 -7     camins.c      Modified