Changeset 421cec729c18ee6cb786551cedc7b2e672ea6ac9

Show
Ignore:
Timestamp:
10/05/09 21:56:44 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1254779804 +0000
git-parent:

[6aa1ed9d279ae3674c21d2d4c78a27cbdcbb4aa9]

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

XML_GET_CONTENT, you are poorly named

Files:

Legend:

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

    rfc257c3 r421cec7  
    353353      xmlSetProp(config, (xmlChar *)"inherit", inherit->children->content); 
    354354    for(n = c->children; n; n = n->next) { 
     355      xmlChar *v = xmlNodeGetContent(n); 
    355356      xmlNodePtr co = xmlNewNode(NULL, n->name); 
    356       xmlNodeAddContent(co, XML_GET_CONTENT(n)); 
     357      xmlNodeAddContent(co, v); 
     358      xmlFree(v); 
    357359      xmlAddChild(config, co); 
    358360    }