ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] rev 33513: /trunk/ /trunk/: dumpcap.c

Date: Wed, 14 Jul 2010 04:30:43 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=33513

User: guy
Date: 2010/07/13 09:30 PM

Log:
 Ensure, at compile time, that the error-message-buffer argument to
 open_captur_device() is an array of PCAP_ERRBUF_SIZE chars.  That means
 we don't need to pass the size.
 
 Unfortunately, pcap_compile() didn't always take a "const char *" as the
 filter string argument, even though it didn't modify the argument; don't
 pass it a "const char *".
 
 Don't print the secondary error message if it's empty.

Directory: /trunk/
  Changes    Path          Action
  +12 -12    dumpcap.c     Modified