(fix) skip potentially bogus cards coming from LDAP
parent
b4a79db603
commit
e54d5c1b06
|
@ -2577,8 +2577,9 @@ void handle_eas_terminate(int signum)
|
||||||
{
|
{
|
||||||
contact = [allContacts objectAtIndex: j];
|
contact = [allContacts objectAtIndex: j];
|
||||||
|
|
||||||
// We skip lists for now
|
// We skip lists for now and bogus entries
|
||||||
if ([[contact objectForKey: @"c_component"] isEqualToString: @"vlist"])
|
if ([[contact objectForKey: @"c_component"] isEqualToString: @"vlist"] ||
|
||||||
|
[[contact objectForKey: @"c_name"] length] == 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// We get the LDIF entry of our record, for easier processing
|
// We get the LDIF entry of our record, for easier processing
|
||||||
|
|
Loading…
Reference in New Issue