mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-5.6' into PHP-7.0
This commit is contained in:
commit
fc611a134b
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue