[JDEV] a bug in libxode

Kimmo P Hamalainen kphamala at cs.Helsinki.FI
Wed Oct 25 08:28:16 CDT 2000


Hi

In libxode-1.0 file xmlnode.c there is next
accessor. Should it return parent->lastchild
instead? (a copy-paste bug?)

------ beginning in line 326 ------------
...
xmlnode xmlnode_get_lastchild(xmlnode parent)
{
    if (parent != NULL)
        return parent->firstchild;
    return NULL;
}
...
------------------------------------------

Kimmo Hämäläinen
kphamala at fishpool.fi
Fishpool Creations Ltd





More information about the JDev mailing list