]> git.deb.at Git - pkg/abook.git/commitdiff
ldif: Don't process the whole list of ldif fields, once one
authorChristian Brabandt <cblists@256bit.org>
Thu, 13 Dec 2012 15:57:32 +0000 (16:57 +0100)
committerRaphaël Droz <raphael.droz+floss@gmail.com>
Thu, 13 Dec 2012 15:57:32 +0000 (16:57 +0100)
 has been found matching.

See:
* http://permalink.gmane.org/gmane.comp.tools.abook.devel/40

filter.c

index 214a1f55f8bb3a064c21ff668ce75aa60ed13ee1..ff3e511872f0e2bd3619680fa67c70de7699eff4 100644 (file)
--- 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;
                }
        }
 }