diff options
author | Joseph Mingrone <jrm@FreeBSD.org> | 2024-09-05 19:46:35 +0000 |
---|---|---|
committer | Joseph Mingrone <jrm@FreeBSD.org> | 2024-09-05 19:46:35 +0000 |
commit | 025be3f592b920ff0a3e602e5aa8b60a34e5e617 (patch) | |
tree | 4f33277584e4a38c8bad5c2788584a00cf830ea4 /rpcap-protocol.c | |
parent | 6b96668d5b49eea57b7551349eca70928cc199ce (diff) |
Diffstat (limited to 'rpcap-protocol.c')
-rw-r--r-- | rpcap-protocol.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rpcap-protocol.c b/rpcap-protocol.c index 0cdc0ba323b7..d1aac8be79f3 100644 --- a/rpcap-protocol.c +++ b/rpcap-protocol.c @@ -31,9 +31,7 @@ * */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif #include <string.h> /* for strlen(), ... */ #include <stdlib.h> /* for malloc(), free(), ... */ @@ -80,7 +78,7 @@ * error message is returned in the 'errbuf' variable. */ int -rpcap_senderror(SOCKET sock, SSL *ssl, uint8 ver, unsigned short errcode, const char *error, char *errbuf) +rpcap_senderror(PCAP_SOCKET sock, SSL *ssl, 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 */ |