Skip to content
Snippets Groups Projects
Commit 30fed3f1 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

cleanup error codes

parent 0b9cc398
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment