https://bugs.openldap.org/show_bug.cgi?id=10229
--- Comment #4 from Nadezhda Ivanova nivanova@symas.com --- Even though there is still at least one message in ld_responses, it sets errno to -5 (timeout), instead of returning this message in the *result pointer, as should be the case when called with MSG_RECEIVED.