Show
Ignore:
Timestamp:
12/04/08 16:35:03 (10 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1228408503 +0000
git-parent:

[9295ab0de02cda482cfd2a5762f8a76727b480d1]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1228408503 +0000
Message:

fixed #66

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/eventer/eventer_ports_impl.c

    r3d709f8 rdf2e1eb  
    175175  return removed; 
    176176} 
    177 static void eventer_ports_impl_update(eventer_t e) { 
     177static void eventer_ports_impl_update(eventer_t e, int mask) { 
    178178  if(e->mask & EVENTER_TIMER) { 
     179    assert(mask & EVENTER_TIMER); 
    179180    pthread_mutex_lock(&te_lock); 
    180181    noit_skiplist_remove_compare(timed_events, e, NULL, noit_compare_voidptr); 
     
    183184    return; 
    184185  } 
    185   alter_fd(e, e->mask); 
     186  alter_fd(e, mask); 
     187  e->mask = mask; 
    186188} 
    187189static eventer_t eventer_ports_impl_remove_fd(int fd) {