Wireshark-commits: [Wireshark-commits] rev 27075: /trunk/ /trunk/: rawshark.c

Date: Sun, 21 Dec 2008 23:37:30 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27075

User: guy
Date: 2008/12/21 03:37 PM

Log:
 Fix error reporting - just use fprintf(stderr, ...), give the path name
 of the pipe to be opened in the messages.
 
 Check whether strtol() succeeds.
 
 Map DLT_ values to a WTAP_ENCAP_ value regardless of whether it comes
 from linktype_name_to_val() or strtol().
 
 Clean up indentation.

Directory: /trunk/
  Changes    Path          Action
  +33 -36    rawshark.c    Modified