Signed-off-by: Kirill A. Shutemov <kir...@shutemov.name> --- ext/libxml/ruby_xml_node.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ext/libxml/ruby_xml_node.c b/ext/libxml/ruby_xml_node.c index 5535887..ec59f9e 100644 --- a/ext/libxml/ruby_xml_node.c +++ b/ext/libxml/ruby_xml_node.c @@ -132,7 +132,7 @@ static VALUE rxml_node_new_cdata(int argc, VALUE *argv, VALUE klass) if (xnode == NULL) rxml_raise(&xmlLastError); - return rxml_node_wrap(klass, xnode); + return rxml_node_wrap(xnode); } /* @@ -163,7 +163,7 @@ static VALUE rxml_node_new_comment(int argc, VALUE *argv, VALUE klass) if (xnode == NULL) rxml_raise(&xmlLastError); - return rxml_node_wrap(klass, xnode); + return rxml_node_wrap(xnode); } /* @@ -184,7 +184,7 @@ static VALUE rxml_node_new_text(VALUE klass, VALUE content) if (xnode == NULL) rxml_raise(&xmlLastError); - return rxml_node_wrap(klass, xnode); + return rxml_node_wrap(xnode); } /* -- 1.6.0.2.GIT _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel