]> granicus.if.org Git - php/commitdiff
fixed compilation error
authorDmitry Stogov <dmitry@zend.com>
Thu, 10 Sep 2015 17:24:11 +0000 (20:24 +0300)
committerDmitry Stogov <dmitry@zend.com>
Thu, 10 Sep 2015 17:24:11 +0000 (20:24 +0300)
ext/ldap/ldap.c

index 1514025db5dc5d63c38416f014ee496ac9f96d49..ca37e146e7c63cb329e9303d6d356f0a13167ad4 100644 (file)
@@ -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;