From 9020851ebf3498f2d7ca6cceb920b523f8981a27 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 12 Mar 2010 16:16:30 +0000 Subject: [PATCH] Monotone-Parent: 4f53fcc951b91b86624403a563cf3994eb946fab Monotone-Revision: 1ea47f5aa8cbb7611d03ba0a965fa2a638f4467b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-03-12T16:16:30 Monotone-Branch: ca.inverse.sogo --- SOPE/sope-patchset-r1664.diff | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/SOPE/sope-patchset-r1664.diff b/SOPE/sope-patchset-r1664.diff index 60c43b285..541daf317 100644 --- a/SOPE/sope-patchset-r1664.diff +++ b/SOPE/sope-patchset-r1664.diff @@ -306,6 +306,15 @@ Index: sope-ldap/NGLdap/NGLdapConnection.m /* running queries */ - (void)setQueryTimeLimit:(NSTimeInterval)_timeLimit { +@@ -731,7 +1019,7 @@ + attrName = [attr attributeName]; + /* TODO: use UTF-8, UNICODE */ + +- modBuf[i].mod_type = strdup(modBuf[i].mod_type); ++ modBuf[i].mod_type = strdup([attrName UTF8String]); + + valCount = [attr count]; + values = calloc(valCount + 1, sizeof(struct berval *)); Index: sope-ldap/NGLdap/NGLdapEntry.m =================================================================== --- sope-ldap/NGLdap/NGLdapEntry.m (revision 1664)