com php-src: fixed compilation error: ext/ldap/ldap.c
| From: | Dmitry Stogov | Date: | Thu, 10 Sep 2015 17:24:11 +0000 |
| Subject: | com php-src: fixed compilation error: ext/ldap/ldap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88999@lists.php.net to get a copy of this message | ||
Commit: 719664dec2573e9189fd2244624f0c6013197281
Author: Dmitry Stogov <dmitry@zend.com> Thu, 10 Sep 2015 20:24:11 +0300
Parents: 1b8bf059c4ac2ceac142938918203ee97b6fdc0a
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=719664dec2573e9189fd2244624f0c6013197281
Log:
fixed compilation error
Changed paths:
M ext/ldap/ldap.c
Diff:
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index 1514025..ca37e14 100644
--- a/ext/ldap/ldap.c
+++ b/ext/ldap/ldap.c
@@ -2252,7 +2252,7 @@ PHP_FUNCTION(ldap_set_option)
struct timeval timeout;
convert_to_long_ex(newval);
- timeout.tv_sec = Z_LVAL_PP(newval);
+ timeout..tv_sec = Z_LVAL_P(newval);
timeout.tv_usec = 0;
if (ldap_set_option(ldap, LDAP_OPT_TIMEOUT, (void *) &timeout)) {
RETURN_FALSE;