aboutsummaryrefslogtreecommitdiff
path: root/rpcap-protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'rpcap-protocol.h')
-rw-r--r--rpcap-protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpcap-protocol.h b/rpcap-protocol.h
index c78580f9..83ebdc5b 100644
--- a/rpcap-protocol.h
+++ b/rpcap-protocol.h
@@ -445,6 +445,6 @@ struct rpcap_sampling
extern void rpcap_createhdr(struct rpcap_header *header, uint8 ver, uint8 type, uint16 value, uint32 length);
extern const char *rpcap_msg_type_string(uint8 type);
-extern int rpcap_senderror(SOCKET sock, uint8 ver, uint16 errcode, char *error, char *errbuf);
+extern int rpcap_senderror(SOCKET sock, uint8 ver, uint16 errcode, const char *error, char *errbuf);
#endif