diff options
| author | Mike Hommey <glandium@debian.org> | 2005-09-05 17:10:35 +0000 |
|---|---|---|
| committer | Mike Hommey <glandium@debian.org> | 2005-09-05 17:10:35 +0000 |
| commit | a464d9993e2acd5b8e1089b218ba74c6fcf215c5 (patch) | |
| tree | 72fe00eb59147367a1d660b90d08172357e0dffc /xmlmodule.c | |
| parent | 112cb5bb5475afec1c1cbf1d6728ce4880d0fee8 (diff) | |
| download | libxml2-upstream/2.6.21.tar.gz | |
Load /usr/tmp/tmp.CMoFff/libxml2-2.6.21 intoupstream/2.6.21
packages/libxml2/branches/upstream/current.
Diffstat (limited to 'xmlmodule.c')
| -rw-r--r-- | xmlmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlmodule.c b/xmlmodule.c index 8b0fab9..6cc86ee 100644 --- a/xmlmodule.c +++ b/xmlmodule.c @@ -85,7 +85,7 @@ xmlModuleOpen(const char *name, int options ATTRIBUTE_UNUSED) __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_MODULE, XML_MODULE_OPEN, XML_ERR_FATAL, NULL, 0, 0, name, NULL, 0, 0, "failed to open %s\n", name); - return 0; + return(NULL); } module->name = xmlStrdup((const xmlChar *) name); @@ -179,7 +179,7 @@ xmlModuleFree(xmlModulePtr module) { if (NULL == module) { __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_MODULE, - XML_MODULE_CLOSE, XML_ERR_FATAL, NULL, 0, 0, + XML_MODULE_CLOSE, XML_ERR_FATAL, NULL, 0, NULL, NULL, NULL, 0, 0, "null module pointer\n"); return -1; } |
