Hi this is a small patch to optimise the ldif importer. It doesn't really make sense, to run through the complete list of ldif fields, once we have added one item successfully. Please check:
git diff filter.c diff --git a/filter.c b/filter.c index 13a0234..ad58d5f 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; } } } regards, Christian -- weapon, n.: An index of the lack of development of a culture. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Abook-devel mailing list Abook-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/abook-devel