Hi Lukasz, On Mon, Aug 23, 2010, Lukasz Pawlik wrote: > From: Lukasz Pawlik <lucas.pawlik@xxxxxxxxx> > Date: Mon, 23 Aug 2010 15:25:20 +0200 > Subject: [PATCH] Fix issues with emails category > > Previously all emails sent during phonebook pull had the same > category INTERNET. Now email are sent with valid category name > (INTERNET;HOME or INTERNET;WORK) > --- > plugins/phonebook-tracker.c | 31 +++++++++++++++++-------- > plugins/vcard.c | 53 ++++++++++++++++++++++++++++++++++--------- > plugins/vcard.h | 11 +++++++++ > 3 files changed, 74 insertions(+), 21 deletions(-) Thanks. The patch is now pushed upstream, but I had to make a few coding style fixes before that: > +static struct phonebook_email *find_email(GSList *emails, const char *address, > + int type) Over 80 column line. > + for (l = emails; l; l = l->next) { > + struct phonebook_email *email; > + email = l->data; You don't really need the variable definition and assignment on different lines here. > +static void add_email(struct phonebook_contact *contact, const char *address, > + int type) The continuation line should be indented as much as possible as long as you don't go beyond 80 columns. (not sure if this is a kernel coding style thingie but at least Marcel wants it that way). > +static void vcard_printf_email(GString *vcards, uint8_t format, > + const char *address, > + enum phonebook_email_type category) Way over 80 column lines. Are you using some other tab-width than 8? Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html