Skip to content

Commit 20e6140

Browse files
committed
fixup! Implement ldap_connect_wallet()
1 parent c42a156 commit 20e6140

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/ldap/ldap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ PHP_FUNCTION(ldap_connect_wallet) {
10231023
char *wallet = NULL, *walletpasswd = NULL;
10241024
size_t walletlen = 0, walletpasswdlen = 0;
10251025
zend_long authmode = GSLC_SSL_NO_AUTH;
1026-
int ssl = 0;
1026+
bool ssl = false;
10271027

10281028
ldap_linkdata *ld;
10291029
LDAP *ldap = NULL;
@@ -1035,7 +1035,7 @@ PHP_FUNCTION(ldap_connect_wallet) {
10351035
}
10361036

10371037
if (authmode != 0) {
1038-
ssl = 1;
1038+
ssl = true;
10391039
}
10401040

10411041
if (LDAPG(max_links) != -1 && LDAPG(num_links) >= LDAPG(max_links)) {

0 commit comments

Comments
 (0)