com php-src: fix typo: ext/simplexml/simplexml.c

From: Date: Wed, 12 Oct 2016 15:12:38 +0000
Subject: com php-src: fix typo: ext/simplexml/simplexml.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-94953@lists.php.net to get a copy of this message
Commit: efc1f33b58b0936539ea6ca1de345bd83c7e8f26 Author: Anatol Belski <ab@php.net> Wed, 12 Oct 2016 17:12:38 +0200 Parents: 80eb013a926fad18cb0da05c508f564da3c1d88c Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=efc1f33b58b0936539ea6ca1de345bd83c7e8f26 Log: fix typo Changed paths: M ext/simplexml/simplexml.c Diff: diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c index 6a05f04..a0c9e98 100644 --- a/ext/simplexml/simplexml.c +++ b/ext/simplexml/simplexml.c @@ -1497,7 +1497,7 @@ SXE_METHOD(asXML) return_content = (char *)outbuf->buffer->content; return_len = outbuf->buffer->use; #endif - if (return_content) { + if (!return_content) { RETVAL_FALSE; } else { RETVAL_STRINGL(return_content, return_len);

« previous php.cvs (#94953) next »