From bc693c868faa09aaf4a472eb08a2a36d50cdb368 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 16 Mar 2010 13:38:28 +0000 Subject: [PATCH] Monotone-Parent: a50a00c29b39452223260cb5d3ac233446726285 Monotone-Revision: e789f702b24bdc52b2a34ab4a58f4a2f26371610 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-03-16T13:38:28 Monotone-Branch: ca.inverse.sogo --- SOPE/sope-patchset-r1664.diff | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SOPE/sope-patchset-r1664.diff b/SOPE/sope-patchset-r1664.diff index 9c276ab7c..0a26526fb 100644 --- a/SOPE/sope-patchset-r1664.diff +++ b/SOPE/sope-patchset-r1664.diff @@ -110,7 +110,7 @@ Index: sope-ldap/NGLdap/NGLdapConnection.m + [self logWithFormat: @"bind - ldap_parse_passwordpolicy call failed"]; + } + else -+ [self logWithFormat: @"bind - ldap_control_find call failed"]; ++ [self logWithFormat: @"bind - ldap_find_control call failed"]; + + ldap_controls_free(ctrls); + } @@ -257,7 +257,7 @@ Index: sope-ldap/NGLdap/NGLdapConnection.m + return NO; + } + -+ ctrl = ldap_control_find(LDAP_CONTROL_PASSWORDPOLICYRESPONSE, ctrls, NULL); ++ ctrl = ldap_find_control(LDAP_CONTROL_PASSWORDPOLICYRESPONSE, ctrls); + + if (ctrl) + { @@ -284,7 +284,7 @@ Index: sope-ldap/NGLdap/NGLdapConnection.m + // Ending up here doesn't mean that things failed. It could simply be caused by the + // fact that the password change was a success but no policy control object + // could be found. -+ [self logWithFormat: @"change password - ldap_control_find call failed"]; ++ [self logWithFormat: @"change password - ldap_find_control call failed"]; + } + + ber_memfree(text);