mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 12:09:35 -05:00
Preset error just in case
This commit is contained in:
parent
8ff6a39d9f
commit
a43ef5bac4
1 changed files with 1 additions and 0 deletions
|
|
@ -217,6 +217,7 @@ int ldap_domain2hostlist(
|
|||
ldap_pvt_thread_mutex_lock(&ldap_int_resolv_mutex);
|
||||
#endif
|
||||
|
||||
rc = LDAP_UNAVAILABLE;
|
||||
len = res_search(request, C_IN, T_SRV, reply, sizeof(reply));
|
||||
if (len >= 0) {
|
||||
unsigned char *p;
|
||||
|
|
|
|||
Loading…
Reference in a new issue