Wireshark-commits: [Wireshark-commits] rev 48691: /trunk/ /trunk/wiretap/: file_access.c wtap.h /tr
Date: Mon, 01 Apr 2013 21:39:28 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48691

User: guy
Date: 2013/04/01 02:39 PM

Log:
 In the Lua dumper code, don't bother checking whether the encapsulation
 is supported before trying to open for writing - the attempt to open for
 writing will do the check for you.  Instead, check for specific errors
 if the attempt to open for writing fails, and use somewhat more specific
 error messages for certain error codes.  (We should perhaps check for
 even more error codes in those cases.)
 
 That gets rid of all external calls to wtap_dump_can_write_encap(), so
 remove it from wtap.h and make it static.

Directory: /trunk/wiretap/
  Changes    Path             Action
  +13 -12    file_access.c    Modified
  +0 -2      wtap.h           Modified

Directory: /trunk/epan/wslua/
  Changes    Path              Action
  +38 -18    wslua_dumper.c    Modified