Date: Wed, 7 Feb 2007 04:27:47 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 114150 for review Message-ID: <200702070427.l174RlbU068212@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=114150 Change 114150 by csjp@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702070427.l174RlbU068212>