Show
Ignore:
Timestamp:
04/25/08 21:19:49 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1209158389 +0000
git-parent:

[4be21f8e99fb918f5a8e4445dd3753a53eba9a72]

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

epoll eventer implementation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_conf.c

    r5789b04 re218b2e  
    3939   * PLEASE: keep them alphabetically sorted. 
    4040   */ 
     41  { "/%s/eventer/@implementation", DEFAULT_EVENTER }, 
    4142  { "/%s/modules/@directory", MODULES_DIR }, 
    4243 
     
    269270    switch(pobj->type) { 
    270271      case XPATH_NODESET: 
    271         if(xmlXPathNodeSetIsEmpty(pobj->nodesetval)) return 0
     272        if(xmlXPathNodeSetIsEmpty(pobj->nodesetval)) goto fallback
    272273        i = xmlXPathNodeSetGetLength(pobj->nodesetval); 
    273274        node = xmlXPathNodeSetItem(pobj->nodesetval, i-1); 
     
    280281    goto found; 
    281282  } 
     283 fallback: 
    282284  if(noit_hash_retrieve(&_compiled_fallback, 
    283285                        path, strlen(path), (void **)&str)) {