From 2948ef366963fffd5810248f62763e5c01c17b71 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Mon, 30 Jan 2012 19:07:24 +0000 Subject: [PATCH] Fix for bug #1582 Monotone-Parent: 78e0e48d54b37e3da54b0ecca3eb1ed2dd1b41f7 Monotone-Revision: b5720d1cdf1d7a97ffae696deda5507c61e52da1 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2012-01-30T19:07:24 --- SoObjects/SOGo/SOGoLDAPUserDefaults.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SoObjects/SOGo/SOGoLDAPUserDefaults.m b/SoObjects/SOGo/SOGoLDAPUserDefaults.m index 86ee6e89f..7cbdf3503 100644 --- a/SoObjects/SOGo/SOGoLDAPUserDefaults.m +++ b/SoObjects/SOGo/SOGoLDAPUserDefaults.m @@ -208,7 +208,7 @@ _fetchLDAPDNAndAttrWithHandle (const char *dn, char *attrs[], LDAP *ldapHandle) if (!(atomsCount % SOGoLDAPContainerSize)) { atoms = NSZoneRealloc (NULL, atoms, - (int) (SOGoLDAPContainerSizee + (int) (SOGoLDAPContainerSize + atomsCount) * sizeof (_SOGoLDAPValue *)); currentAtom = atoms + atomsCount; @@ -356,7 +356,7 @@ _convertLDAPAtomToNSDictionary (_SOGoLDAPValue *atom) static _SOGoLDAPValue * _initLDAPDefaults () { -#error dn, password, uri, configDN should be defined +#warning dn, password, uri, configDN should be defined const char *dn, *password, *uri, *configDN; LDAP *ldapHandle; int rc, opt;