aboutsummaryrefslogtreecommitdiff
path: root/rpcap-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpcap-protocol.c')
-rw-r--r--rpcap-protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpcap-protocol.c b/rpcap-protocol.c
index 607d5bd2..692f7c5c 100644
--- a/rpcap-protocol.c
+++ b/rpcap-protocol.c
@@ -78,7 +78,7 @@
* error message is returned in the 'errbuf' variable.
*/
int
-rpcap_senderror(SOCKET sock, uint8 ver, unsigned short errcode, char *error, char *errbuf)
+rpcap_senderror(SOCKET sock, uint8 ver, unsigned short errcode, const char *error, char *errbuf)
{
char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */
int sendbufidx = 0; /* index which keeps the number of bytes currently buffered */