[evolution-data-server/gnome-3-34] I#159 - LDAP: Fails to read userCertificate from the server ][
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-34] I#159 - LDAP: Fails to read userCertificate from the server ][
- Date: Fri, 11 Oct 2019 07:44:17 +0000 (UTC)
commit 1381a7b5d358dbd2e6b414aae3cb8a7553bfed94
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 feda4218c..ae5ed8d1f 100644
--- a/src/addressbook/backends/ldap/e-book-backend-ldap.c
+++ b/src/addressbook/backends/ldap/e-book-backend-ldap.c
@@ -4128,6 +4128,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]