From: Pierangelo Masarati Date: Sat, 24 Jul 2004 11:15:13 +0000 (+0000) Subject: cleanup error codes X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=30fed3f1c9529fe13ae79402f8ed5d682a55583d;p=openldap cleanup error codes --- diff --git a/libraries/libldap/url.c b/libraries/libldap/url.c index 5be36f8721..6b520d5c4c 100644 --- a/libraries/libldap/url.c +++ b/libraries/libldap/url.c @@ -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