ChangeLog

Monotone-Parent: f0940e9496d2f6b614f37aed2fd66c564c0df278
Monotone-Revision: 632471715b42abed3c091997b4c9982252f960d2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-10-01T02:26:40
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-10-01 02:26:40 +00:00
parent 53b31d9cce
commit 282c9ccd32
+4 -8
View File
@@ -133,7 +133,9 @@ _appendAtomToDictionary (_SOGoLDAPValue *atom, _SOGoLDAPValue *dictionary)
if (oldAtomPtr)
{
oldAtom = *oldAtomPtr;
if (oldAtom->type == SOGoLDAPAtom)
if (oldAtom->type == SOGoLDAPArray)
container = oldAtom;
else
{
container = _createContainer (SOGoLDAPArray);
container->key = oldAtom->key;
@@ -141,12 +143,6 @@ _appendAtomToDictionary (_SOGoLDAPValue *atom, _SOGoLDAPValue *dictionary)
_appendAtomToContainer (oldAtom, container);
*oldAtomPtr = container;
}
else if (oldAtom->type == SOGoLDAPArray)
container = oldAtom;
else
{
// some error handling here...
}
}
else
container = dictionary;
@@ -352,7 +348,7 @@ _convertLDAPAtomToNSDictionary (_SOGoLDAPValue *atom)
// dn = "cn=admin,dc=inverse,dc=ca";
// password = "qwerty";
// uri = "ldap://127.0.0.1";
// configDN = @"cn=sogo-config,dc=inverse,dc=ca";
// configDN = "cn=sogo-config,dc=inverse,dc=ca";
static _SOGoLDAPValue *
_initLDAPDefaults ()