]> git.sur5r.net Git - openldap/commitdiff
cleanup error codes
authorPierangelo Masarati <ando@openldap.org>
Sat, 24 Jul 2004 11:15:13 +0000 (11:15 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 24 Jul 2004 11:15:13 +0000 (11:15 +0000)
libraries/libldap/url.c

index 5be36f872117026a5de4fc2dac14c55b0afe4f34..6b520d5c4c9ae859cd227ca8be52f81dab5b1d78 100644 (file)
@@ -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