From 54d7efdd867cd5a54c85d8d6be7ddb8e40d664c3 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 31 Oct 2017 21:00:18 -0700 Subject: Get rid of sock_recv() call that should have been removed in a previous change. --- pcap-rpcap.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'pcap-rpcap.c') diff --git a/pcap-rpcap.c b/pcap-rpcap.c index d700e7ab..93e23970 100644 --- a/pcap-rpcap.c +++ b/pcap-rpcap.c @@ -2258,9 +2258,6 @@ pcap_findalldevs_ex_remote(char *source, struct pcap_rmtauth *auth, pcap_if_t ** if (sock_send(sockctrl, (char *)&header, sizeof(struct rpcap_header), errbuf, PCAP_ERRBUF_SIZE) == -1) goto error_nodiscard; - if (sock_recv(sockctrl, (char *)&header, sizeof(struct rpcap_header), SOCK_RECEIVEALL_YES, errbuf, PCAP_ERRBUF_SIZE) == -1) - goto error_nodiscard; - /* Receive and process the reply message header. */ if (rpcap_process_msg_header(sockctrl, protocol_version, RPCAP_MSG_FINDALLIF_REQ, &header, errbuf) == -1) -- cgit v1.2.3