]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/open.c
Merge remote-tracking branch 'origin/mdb.master'
[openldap] / libraries / libldap / open.c
index a92095334e91fab25d884dda576352699d528f9d..ec5011744a567e2537a89217eb12e6ccb6e6dada 100644 (file)
@@ -540,7 +540,7 @@ ldap_int_check_async_open( LDAP *ld, ber_socket_t sd )
        struct timeval tv = { 0 };
        int rc;
 
-       rc = ldap_int_poll( ld, sd, &tv );
+       rc = ldap_int_poll( ld, sd, &tv, 1 );
        switch ( rc ) {
        case 0:
                /* now ready to start tls */