We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 569d164 commit ed8bfccCopy full SHA for ed8bfcc
ext/ldap/ldap.c
@@ -2199,8 +2199,6 @@ PHP_FUNCTION(ldap_sort)
2199
PHP_FUNCTION(ldap_get_option)
2200
{
2201
zval *link, *retval;
2202
- zval tmp1;
2203
- int num_entries;
2204
ldap_linkdata *ld;
2205
zend_long option;
2206
@@ -2348,6 +2346,8 @@ PHP_FUNCTION(ldap_get_option)
2348
2346
case LDAP_OPT_SERVER_CONTROLS:
2349
2347
case LDAP_OPT_CLIENT_CONTROLS:
2350
+ zval tmp1;
+ int num_entries;
2351
LDAPControl **ctrls = NULL, **ctrlp;
2352
2353
if (ldap_get_option(ld->link, option, &ctrls) || ctrls == NULL) {
0 commit comments