Re: cvs: php4 /ext/domxml php_domxml.c
| From: | derick@php.net | Date: | Wed, 17 Jul 2002 10:03:03 +0000 |
| Subject: | Re: cvs: php4 /ext/domxml php_domxml.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-12870@lists.php.net to get a copy of this message | ||
Hi,
can you merge this one?
Derick
On Wed, 17 Jul 2002, Christian Stocker wrote:
> chregu Wed Jul 17 04:57:29 2002 EDT
>
> Modified files:
> /php4/ext/domxml php_domxml.c
> Log:
> nodename is not always set, check if it really is.
>
>
> Index: php4/ext/domxml/php_domxml.c
> diff -u php4/ext/domxml/php_domxml.c:1.180 php4/ext/domxml/php_domxml.c:1.181
> --- php4/ext/domxml/php_domxml.c:1.180 Sat Jul 13 01:53:06 2002
> +++ php4/ext/domxml/php_domxml.c Wed Jul 17 04:57:29 2002
> @@ -16,7 +16,7 @@
> +----------------------------------------------------------------------+
> */
>
> -/* $Id: php_domxml.c,v 1.180 2002/07/13 05:53:06 sniper Exp $ */
> +/* $Id: php_domxml.c,v 1.181 2002/07/17 08:57:29 chregu Exp $ */
>
> /* TODO
> * - Support Notation Nodes
> @@ -1382,7 +1382,9 @@
> }
> add_assoc_string(errormessages,"errormessage",buf,1);
> input = ctxt->input;
> - add_assoc_string(errormessages,"nodename",ctxt->name,1);
> + if (ctxt->name) {
> + add_assoc_string(errormessages,"nodename",ctxt->name,1);
> + }
> if (input != NULL) {
> add_assoc_long(errormessages,"line",input->line);
> add_assoc_long(errormessages,"col",input->col);
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
---------------------------------------------------------------------------
Did I help you? http://www.derickrethans.nl/link.php?url=giftlist
Frequent ranting: http://www.derickrethans.nl/
---------------------------------------------------------------------------
PHP: Scripting the Web - derick@php.net
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---------------------------------------------------------------------------