Correct a typo in offline mode detection
git-svn-id: file:///home/svn/framework3/trunk@5701 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
647118f333
commit
3c30d7aefd
|
@ -287,7 +287,7 @@ rbpcap_next(VALUE self)
|
|||
TRAP_BEG;
|
||||
|
||||
while(! (ret = pcap_dispatch(rbp->pd, 1, (pcap_handler) rbpcap_handler, (u_char *)&job))) {
|
||||
if(rbp->type = OFFLINE) break;
|
||||
if(rbp->type == OFFLINE) break;
|
||||
rb_thread_schedule();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue