svn commit: r1924560 - /apr/apr-util/branches/1.7.x/ldap/apr_ldap.c

[email protected]
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <[email protected]>
Author: minfrin
Date: Mon Mar 24 17:06:16 2025
New Revision: 1924560

URL: http://svn.apache.org/viewvc?rev=1924560&view=rev
Log:
apr_ldap: Avoid throwing out the error when setting APR_LDAP_OPT_URI.

Modified:
    apr/apr-util/branches/1.7.x/ldap/apr_ldap.c

Modified: apr/apr-util/branches/1.7.x/ldap/apr_ldap.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.7.x/ldap/apr_ldap.c?rev=1924560&r1=1924559&r2=1924560&view=diff
==============================================================================
--- apr/apr-util/branches/1.7.x/ldap/apr_ldap.c (original)
+++ apr/apr-util/branches/1.7.x/ldap/apr_ldap.c Mon Mar 24 17:06:16 2025
@@ -368,11 +368,10 @@ static apr_status_t option_set_uri(apr_l
 
     {
         apr_ldap_url_desc_t *urld;
-        apu_err_t *result;
         apr_status_t status;
         int secure;
 
-        status = apr_ldap_url_parse(ldap->pool, uri, &(urld), &(result));
+        status = apr_ldap_url_parse(ldap->pool, uri, &(urld), (apr_ldap_err_t *)&(err));
         if (status != APR_SUCCESS) {
             return status;
         }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.