[evolution-data-server] I#159 - LDAP: Fails to read userCertificate from the server ][



commit e319ca41cc6e7fa6e680050996d1f1dfc0a1fa37
Author: Milan Crha <mcrha redhat com>
Date:   Fri Oct 11 09:42:19 2019 +0200

    I#159 - LDAP: Fails to read userCertificate from the server ][
    
    Add forgotten "break;", which helps with performance, not that much with
    the code functionality.
    
    Related to https://gitlab.gnome.org/GNOME/evolution-data-server/issues/159

 src/addressbook/backends/ldap/e-book-backend-ldap.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/addressbook/backends/ldap/e-book-backend-ldap.c 
b/src/addressbook/backends/ldap/e-book-backend-ldap.c
index 0d34492cd..da2fd009e 100644
--- a/src/addressbook/backends/ldap/e-book-backend-ldap.c
+++ b/src/addressbook/backends/ldap/e-book-backend-ldap.c
@@ -4124,6 +4124,7 @@ build_contact_from_entry (EBookBackendLDAP *bl,
                                        if (semicolon && g_ascii_strcasecmp (semicolon, ";binary") == 0 &&
                                            g_ascii_strncasecmp (attr, prop_info[i].ldap_attr, semicolon - 
attr) == 0) {
                                                info = &prop_info[i];
+                                               break;
                                        }
                                }
                        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]