Correct a typo in offline mode detection

git-svn-id: file:///home/svn/framework3/trunk@5701 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2008-09-30 21:46:01 +00:00
parent 647118f333
commit 3c30d7aefd
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}