]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
CID 1409863: our_err is no longer used
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 26 May 2017 01:40:08 +0000 (21:40 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 26 May 2017 01:40:08 +0000 (21:40 -0400)
src/lib/ldap/libfreeradius-ldap.c

index fd9d34c6899711b67d70488c1a0059f88cc143ab..de5c07c6463e94fe48be633513536d72eb4b9ee2 100644 (file)
@@ -184,7 +184,6 @@ fr_ldap_rcode_t fr_ldap_error_check(LDAPControl ***ctrls, fr_ldap_conn_t const *
        int srv_errno = LDAP_SUCCESS;   /* errno in the result message */
 
        char *part_dn = NULL;           /* Partial DN match */
-       char *our_err = NULL;           /* Our extended error message */
        char *srv_err = NULL;           /* Server's extended error message */
 
        ssize_t len;
@@ -335,7 +334,6 @@ process_error:
                                           ldap_err2string(srv_errno), srv_errno);
                }
 
-               if (our_err) fr_strerror_printf("%s. %s", fr_strerror(), our_err);
                if (srv_err) fr_strerror_printf("%s. Server said: %s", fr_strerror(), srv_err);
 
                break;