dect
/
libpcap
Archived
13
0
Fork 0

Fix typo^Wbraino.

This commit is contained in:
Guy Harris 2009-10-12 17:06:11 -07:00
parent bf7491046a
commit 26384d5fc7
1 changed files with 1 additions and 1 deletions

View File

@ -2982,7 +2982,7 @@ pcap_read_linux_mmap(pcap_t *handle, int max_packets, pcap_handler callback,
*
* XXX - make the socket non-blocking?
*/
if (recv(handle->fd, c, sizeof c,
if (recv(handle->fd, &c, sizeof c,
MSG_PEEK) != -1)
continue; /* what, no error? */
if (errno == ENETDOWN) {