Show
Ignore:
Timestamp:
02/17/11 15:49:15 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1297957755 +0000
git-parent:

[7d308b7989cb04229e214e3ca04435922d9965c8]

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

fixes #350

Files:

Legend:

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

    rd83c60e r637731d  
    147147  node = noit_conf_get_section(NULL, xpath); 
    148148  if(!node) goto not_found; 
    149   noit_filter_remove(node); 
     149  if(noit_filter_remove(node) == 0) goto not_found; 
     150  xmlUnlinkNode(node); 
     151  xmlFreeNode(node); 
    150152 
    151153  if(noit_conf_write_file(NULL) != 0)