diff options
Diffstat (limited to 'pcap-rpcap.c')
-rw-r--r-- | pcap-rpcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-rpcap.c b/pcap-rpcap.c index 42a59ebc..94a3834c 100644 --- a/pcap-rpcap.c +++ b/pcap-rpcap.c @@ -1272,7 +1272,7 @@ static int pcap_startcapture_remote(pcap_t *fp) * Loop until the buffer size is OK or the original * socket buffer size is larger than this one. */ - while (1) + for (;;) { res = setsockopt(sockdata, SOL_SOCKET, SO_RCVBUF, (char *)&(server_sockbufsize), |