Changeset 6f4dd74733a47e2764ca23fc8fc648e57367c02c

Show
Ignore:
Timestamp:
05/27/10 17:44:58 (4 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1274982298 +0000
git-parent:

[d55b6ae3109eb3e44c079a3c4d4722e1a15c3e62]

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

can skip a whole lot more, refs #284

Files:

Legend:

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

    re20fb1d r6f4dd74  
    837837  if(pobj) xmlXPathFreeObject(pobj); 
    838838 
     839#ifdef UNSAFE_RECONFIG 
    839840  snprintf(xpath, sizeof(xpath), "/noit/%s", path); 
    840841  pobj = xmlXPathEval((xmlChar *)xpath, xpath_ctxt); 
     
    858859    } 
    859860  } 
    860 #ifdef UNSAFE_RECONFIG 
    861861  if(active) { 
    862862    nc_printf(ncct, "Cannot set '%s', it would effect %d live check(s)\n", 
     
    864864    goto out; 
    865865  } 
     866  if(pobj) xmlXPathFreeObject(pobj); 
    866867#endif 
    867   if(pobj) xmlXPathFreeObject(pobj); 
    868868 
    869869  /* Here we want to remove /noit/path/config/name */