Fix for bug #1582
Monotone-Parent: 78e0e48d54b37e3da54b0ecca3eb1ed2dd1b41f7 Monotone-Revision: b5720d1cdf1d7a97ffae696deda5507c61e52da1 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2012-01-30T19:07:24maint-2.0.2
parent
9da91b055f
commit
2948ef3669
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue