diff options
| author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-07-28 16:15:52 +0000 |
|---|---|---|
| committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-07-28 16:15:52 +0000 |
| commit | f2daceafc23a3f1eb0b9f6cb2cef4b0bd75c7143 (patch) | |
| tree | ad6869fc6d9f73e660e0c5762ba5794fd622b7b0 | |
| parent | a1a40af6e0a80c113e1d3ebe102c9b6fcb4a9d49 (diff) | |
| download | lasso-f2daceafc23a3f1eb0b9f6cb2cef4b0bd75c7143.tar.gz lasso-f2daceafc23a3f1eb0b9f6cb2cef4b0bd75c7143.tar.xz lasso-f2daceafc23a3f1eb0b9f6cb2cef4b0bd75c7143.zip | |
*** empty log message ***
| -rw-r--r-- | lasso/xml/xml.c | 2 | ||||
| -rw-r--r-- | lasso/xml/xml.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lasso/xml/xml.c b/lasso/xml/xml.c index 1272204a..63ffc7ef 100644 --- a/lasso/xml/xml.c +++ b/lasso/xml/xml.c @@ -97,7 +97,7 @@ lasso_node_dump(LassoNode *node, void lasso_node_destroy(LassoNode *node) { - if (node != NULL) { + if (LASSO_IS_NODE(node)) { LassoNodeClass *class = LASSO_NODE_GET_CLASS(node); class->destroy(node); } diff --git a/lasso/xml/xml.h b/lasso/xml/xml.h index 8fabbc7c..ec5e126a 100644 --- a/lasso/xml/xml.h +++ b/lasso/xml/xml.h @@ -176,7 +176,7 @@ LASSO_EXPORT GPtrArray* lasso_node_get_children (LassoNode *node); LASSO_EXPORT xmlChar* lasso_node_get_content (LassoNode *node); -LASSO_EXPORT const xmlChar* lasso_node_get_name (LassoNode *node); +LASSO_EXPORT xmlChar* lasso_node_get_name (LassoNode *node); LASSO_EXPORT void lasso_node_import (LassoNode *node, const xmlChar *buffer); |
