Changeset 5555
- Timestamp:
- 07/14/08 00:37:38 (3 months ago)
- Files:
-
- framework3/trunk/external/pcaprub/pcaprub.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework3/trunk/external/pcaprub/pcaprub.c
r5534 r5555 287 287 TRAP_BEG; 288 288 289 while(! (ret = pcap_dispatch(rbp->pd, 1, (pcap_handler) rbpcap_handler, (u_char *)&job))) { 289 while(! (ret = pcap_dispatch(rbp->pd, 1, (pcap_handler) rbpcap_handler, (u_char *)&job))) { 290 if(rbp->type = OFFLINE) break; 290 291 rb_thread_schedule(); 291 292 } … … 293 294 TRAP_END; 294 295 296 if(rbp->type = OFFLINE && ret <= 0) return Qnil; 295 297 296 298 if(job.hdr.caplen > 0)
