diff options
| author | Daniel Veillard <veillard@src.gnome.org> | 2001-03-07 15:57:53 +0000 |
|---|---|---|
| committer | Daniel Veillard <veillard@src.gnome.org> | 2001-03-07 15:57:53 +0000 |
| commit | 6c831207f88bd4c6e8f430465b37406f0b064fce (patch) | |
| tree | 3ee5c177b5de89a9dcd09b73d2984156aaae23ac /tree.c | |
| parent | 33a67808b97c94342563eeba3c277a8e876e6f8f (diff) | |
| download | android_external_libxml2-6c831207f88bd4c6e8f430465b37406f0b064fce.tar.gz android_external_libxml2-6c831207f88bd4c6e8f430465b37406f0b064fce.tar.bz2 android_external_libxml2-6c831207f88bd4c6e8f430465b37406f0b064fce.zip | |
Seems there is still bugs hiding, someone has some flytox ?
- Makefile.am: Martin Baulig suggested to add -lm
- tree.c: found another bug in xmlNodeGetContent()
Daniel
Diffstat (limited to 'tree.c')
| -rw-r--r-- | tree.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3208,6 +3208,9 @@ xmlNodeGetContent(xmlNodePtr cur) { continue; } } + if (tmp == cur) + break; + if (tmp->next != NULL) { tmp = tmp->next; continue; @@ -3217,7 +3220,7 @@ xmlNodeGetContent(xmlNodePtr cur) { tmp = tmp->parent; if (tmp == NULL) break; - if (tmp == (xmlNodePtr) cur) { + if (tmp == cur) { tmp = NULL; break; } |
