dovecot-2.2: ldap: Compiling fix to previous change

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 26 10:35:50 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/3396bc2575f5
changeset: 16114:3396bc2575f5
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 26 10:35:38 2013 +0200
description:
ldap: Compiling fix to previous change

diffstat:

 src/auth/db-ldap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 8ca1aba14888 -r 3396bc2575f5 src/auth/db-ldap.c
--- a/src/auth/db-ldap.c	Tue Mar 26 10:25:50 2013 +0200
+++ b/src/auth/db-ldap.c	Tue Mar 26 10:35:38 2013 +0200
@@ -747,14 +747,14 @@
 		struct ldap_request_search *srequest =
 			(struct ldap_request_search *)request;
 
-		if (!array_is_created(&request->named_results)) {
+		if (!array_is_created(&srequest->named_results)) {
 			auth_request_log_error(request->auth_request, "ldap",
 				"ldap_search(base=%s filter=%s) failed: %s",
 				srequest->base, srequest->filter,
 				ldap_err2string(ret));
 		} else {
-			named_res = array_idx(&request->named_results,
-					      request->name_idx);
+			named_res = array_idx(&srequest->named_results,
+					      srequest->name_idx);
 			auth_request_log_error(request->auth_request, "ldap",
 				"ldap_search(base=%s) failed: %s",
 				named_res->dn, ldap_err2string(ret));


More information about the dovecot-cvs mailing list