From 30fed3f1c9529fe13ae79402f8ed5d682a55583d Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 24 Jul 2004 11:15:13 +0000 Subject: [PATCH] cleanup error codes --- libraries/libldap/url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5