From: Christian Brabandt Date: Thu, 13 Dec 2012 15:57:32 +0000 (+0100) Subject: ldif: Don't process the whole list of ldif fields, once one X-Git-Tag: upstream/0.6.1~2^2~35 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=9ccd2453b5a55c7bccae5de1e1022947c7ff889a;p=pkg%2Fabook.git ldif: Don't process the whole list of ldif fields, once one has been found matching. See: * http://permalink.gmane.org/gmane.comp.tools.abook.devel/40 --- diff --git a/filter.c b/filter.c index 214a1f5..ff3e511 100644 --- a/filter.c +++ b/filter.c @@ -640,6 +640,7 @@ ldif_convert(ldif_item item, char *type, char *value) free(item_fget(item, i)); item_fput(item, i, xstrdup(value)); + break; } } }