Re: [xml] bug in valid.c

Date view Thread view Subject view Author view

From: TOM (ptittom@free.fr)
Date: Thu Feb 08 2001 - 06:52:24 EST


Le 08/02/01 07:48:57, Gary Pennington a écrit :
> if (xmlHashAddEntry(table, value, ret) < 0) {
> ! /*
> ! * Since there is no discrimination on error returns
> ! * from xmlHashAddEntry, I'm presuming <0 means the
> ! * key already exists.
> ! */
> ! xmlHashUpdateEntry(table, value, ret, (xmlHashDeallocator)
> xmlFreeRef);
> }

Isn't this equivalent to just call xmlHashUpdateEntry() ?

Tom.

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Feb 08 2001 - 08:44:19 EST