mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
cleanup error codes
This commit is contained in:
parent
0b9cc398e2
commit
30fed3f1c9
1 changed files with 2 additions and 2 deletions
|
|
@ -930,7 +930,7 @@ ldap_url_parselist_ext (LDAPURLDesc **ludlist, const char *url, const char *sep
|
|||
|
||||
urls = ldap_str2charray(url, sep);
|
||||
if (urls == NULL)
|
||||
return LDAP_NO_MEMORY;
|
||||
return LDAP_URL_ERR_MEM;
|
||||
|
||||
/* count the URLs... */
|
||||
for (i = 0; urls[i] != NULL; i++) ;
|
||||
|
|
@ -947,7 +947,7 @@ ldap_url_parselist_ext (LDAPURLDesc **ludlist, const char *url, const char *sep
|
|||
*ludlist = ludp;
|
||||
}
|
||||
ldap_charray_free(urls);
|
||||
return LDAP_SUCCESS;
|
||||
return LDAP_URL_SUCCESS;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Reference in a new issue