Skip to content

Commit 9c47de0

Browse files
committed
LDAP Indent fix
1 parent 401230f commit 9c47de0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ext/ldap/ldap.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -597,10 +597,10 @@ static int _php_ldap_control_from_array(LDAP *ld, LDAPControl** ctrl, zval* arra
597597
if ((tmp = zend_hash_str_find(Z_ARRVAL_P(sortkey), "reverse", sizeof("reverse") - 1)) != NULL) {
598598
sort_keys[i]->reverseOrder = zend_is_true(tmp);
599599
/* If val is an object which cannot be converted to object */
600-
if (EG(exception)) {
601-
rc = -1;
602-
goto failure;
603-
}
600+
if (EG(exception)) {
601+
rc = -1;
602+
goto failure;
603+
}
604604
} else {
605605
sort_keys[i]->reverseOrder = 0;
606606
}
@@ -3406,9 +3406,9 @@ PHP_FUNCTION(ldap_set_option)
34063406
void *val;
34073407
val = zend_is_true(newval) ? LDAP_OPT_ON : LDAP_OPT_OFF;
34083408
/* If val is an object which cannot be converted to object */
3409-
if (EG(exception)) {
3410-
RETURN_THROWS();
3411-
}
3409+
if (EG(exception)) {
3410+
RETURN_THROWS();
3411+
}
34123412
if (ldap_set_option(ldap, option, val)) {
34133413
RETURN_FALSE;
34143414
}

0 commit comments

Comments
 (0)