Monotone-Parent: 78e0e48d54b37e3da54b0ecca3eb1ed2dd1b41f7
Monotone-Revision: b5720d1cdf1d7a97ffae696deda5507c61e52da1

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-01-30T19:07:24
maint-2.0.2
Ludovic Marcotte 2012-01-30 19:07:24 +00:00
parent 9da91b055f
commit 2948ef3669
1 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ _fetchLDAPDNAndAttrWithHandle (const char *dn, char *attrs[], LDAP *ldapHandle)
if (!(atomsCount % SOGoLDAPContainerSize)) if (!(atomsCount % SOGoLDAPContainerSize))
{ {
atoms = NSZoneRealloc (NULL, atoms, atoms = NSZoneRealloc (NULL, atoms,
(int) (SOGoLDAPContainerSizee (int) (SOGoLDAPContainerSize
+ atomsCount) + atomsCount)
* sizeof (_SOGoLDAPValue *)); * sizeof (_SOGoLDAPValue *));
currentAtom = atoms + atomsCount; currentAtom = atoms + atomsCount;
@ -356,7 +356,7 @@ _convertLDAPAtomToNSDictionary (_SOGoLDAPValue *atom)
static _SOGoLDAPValue * static _SOGoLDAPValue *
_initLDAPDefaults () _initLDAPDefaults ()
{ {
#error dn, password, uri, configDN should be defined #warning dn, password, uri, configDN should be defined
const char *dn, *password, *uri, *configDN; const char *dn, *password, *uri, *configDN;
LDAP *ldapHandle; LDAP *ldapHandle;
int rc, opt; int rc, opt;