From 719664dec2573e9189fd2244624f0c6013197281 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 10 Sep 2015 20:24:11 +0300 Subject: [PATCH] fixed compilation error --- ext/ldap/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index 1514025db5..ca37e146e7 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; -- 2.40.0