com php-src: RETURN_FALSE: ext/session/mod_user_class .c
| From: | Xinchen Hui | Date: | Fri, 18 Sep 2015 08:33:33 +0000 |
| Subject: | com php-src: RETURN_FALSE: ext/session/mod_user_class .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-89067@lists.php.net to get a copy of this message | ||
Commit: d42d0460f8892d6b321a0641e54c5ac97c2d1149
Author: Xinchen Hui <laruence@gmail.com> Fri, 18 Sep 2015 16:33:33 +0800
Parents: 6a3580fd567dfbb7fa9bf38b0a4bbc1bf6126cb1
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d42d0460f8892d6b321a0641e54c5ac97c2d1149
Log:
RETURN_FALSE
Changed paths:
M ext/session/mod_user_class.c
Diff:
diff --git a/ext/session/mod_user_class.c b/ext/session/mod_user_class.c
index 82aea14..95f6f39 100644
--- a/ext/session/mod_user_class.c
+++ b/ext/session/mod_user_class.c
@@ -81,8 +81,7 @@ PHP_METHOD(SessionHandler, read)
}
if (PS(default_mod)->s_read(&PS(mod_data), key, &val, PS(gc_maxlifetime)) == FAILURE) {
- RETVAL_FALSE;
- return;
+ RETURN_FALSE;
}
RETURN_STR(val);