fix warning - errbuf is not const at all

This commit is contained in:
Arnout Engelen
2012-03-15 22:48:30 +00:00
parent 4e9d29f923
commit e4290a0d7b
2 changed files with 3 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ struct dp_handle {
/* functions to set up a handle (which is basically just a pcap handle) */
struct dp_handle * dp_open_live(const char * device, int snaplen, int promisc, int to_ms, const char * ebuf);
struct dp_handle * dp_open_live(const char * device, int snaplen, int promisc, int to_ms, char * errbuf);
struct dp_handle * dp_open_offline(char * fname, char * ebuf);
/* functions to add callbacks */