You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by mi...@apache.org on 2025/03/24 17:06:16 UTC

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

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;
         }