mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Merge branch 'PHP-5.6' into PHP-7.0
This commit is contained in:
commit
fc611a134b
@ -345,6 +345,9 @@ PHP_FUNCTION(ldap_connect)
|
||||
RETURN_FALSE;
|
||||
}
|
||||
#endif
|
||||
if (!port) {
|
||||
port = LDAP_PORT;
|
||||
}
|
||||
|
||||
if (LDAPG(max_links) != -1 && LDAPG(num_links) >= LDAPG(max_links)) {
|
||||
php_error_docref(NULL, E_WARNING, "Too many open links (%pd)", LDAPG(num_links));
|
||||
|
Loading…
Reference in New Issue
Block a user