com php-src: fix typo: ext/simplexml/simplexml.c
| From: | Anatol Belski | Date: | Thu, 13 Oct 2016 23:43:54 +0000 |
| Subject: | com php-src: fix typo: ext/simplexml/simplexml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95059@lists.php.net to get a copy of this message | ||
Commit: a5e9a73db25fb1348bd4a68a83d1237b14d05e17
Author: Anatol Belski <ab@php.net> Wed, 12 Oct 2016 17:12:38 +0200
Parents: 41ed9d1f9f1f0fd097e8157e42a4689d117e083d
Branches: PHP-7.1
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a5e9a73db25fb1348bd4a68a83d1237b14d05e17
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 1f75052..7870377 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -1499,7 +1499,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);