[Commits] ldap-plugin.c 1.15 1.16

miras at claws-mail.org miras at claws-mail.org
Sat Dec 24 00:45:36 CET 2011


Update of /home/claws-mail/contacts/plugins/ldap
In directory claws-mail:/tmp/cvs-serv21593/plugins/ldap

Modified Files:
	ldap-plugin.c 
Log Message:
2011-12-23 [mir]	0.6.0cvs58

	* plugins/ldap/ldap-plugin.c
	    Fix similar bug as 0.6.0cvs57-1.

Index: ldap-plugin.c
===================================================================
RCS file: /home/claws-mail/contacts/plugins/ldap/ldap-plugin.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- ldap-plugin.c	23 Dec 2011 22:25:21 -0000	1.15
+++ ldap-plugin.c	23 Dec 2011 23:45:34 -0000	1.16
@@ -1308,8 +1308,11 @@
 		cur = contact->emails;
 		while(cur && ! dn) {
 			Email* e = (Email *) cur->data;
-			if (e->email)
+			if (e->email) {
+				if (! ac->server->dn)
+					find_dn(ac, NULL);
 				dn = g_strconcat("mail=", e->email, ",", ac->server->dn, NULL);
+			}
 			else
 				cur = cur->next;
 		}



More information about the Commits mailing list