com php-src: fix typo: ext/simplexml/simplexml.c
| From: | Anatol Belski | Date: | Wed, 12 Oct 2016 22:36:41 +0000 |
| Subject: | com php-src: fix typo: ext/simplexml/simplexml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94990@lists.php.net to get a copy of this message | ||
Commit: 84b2d938b754f7ff5ac68a8cde46888dcf4eea91
Author: Anatol Belski <ab@php.net> Wed, 12 Oct 2016 17:12:38 +0200
Parents: 3ec841fcb1f89c2a203e06fe1249a53bbe51c43d
Branches: PHP-7.0.12
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=84b2d938b754f7ff5ac68a8cde46888dcf4eea91
Log:
fix typo
(cherry picked from commit efc1f33b58b0936539ea6ca1de345bd83c7e8f26)
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);