PERFORCE change 114150 for review
Christian S.J. Peron
csjp at FreeBSD.org
Wed Feb 7 04:27:59 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=114150
Change 114150 by csjp at csjp_rnd01 on 2007/02/07 04:27:01
Turf the static initialization of the timeout, libpcap will handle this now.
Affected files ...
.. //depot/projects/zcopybpf/src/contrib/libpcap/pcap-bpf.c#5 edit
Differences ...
==== //depot/projects/zcopybpf/src/contrib/libpcap/pcap-bpf.c#5 (text+ko) ====
@@ -162,13 +162,10 @@
fd_set r_set;
int r;
- tv.tv_sec = 1;
- tv.tv_usec = 0;
FD_ZERO(&r_set);
FD_SET(p->fd, &r_set);
p->bzh = NULL;
p->buffer = NULL;
-
if (p->to_ms != 0) {
tv.tv_sec = p->to_ms / 1000;
tv.tv_usec = (p->to_ms * 1000) % 1000000;
More information about the p4-projects
mailing list