From 2cad93864e878a9e7041230745098de8cde5fd10 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 26 Aug 2010 14:24:44 +0300 Subject: [PATCH] obexd: Fix over 80 column lines --- obexd/plugins/vcard.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/obexd/plugins/vcard.c b/obexd/plugins/vcard.c index 849e9bbeb..09f4f40d4 100644 --- a/obexd/plugins/vcard.c +++ b/obexd/plugins/vcard.c @@ -251,7 +251,8 @@ static void vcard_printf_number(GString *vcards, uint8_t format, if ((type == TYPE_INTERNATIONAL) && (number[0] != '+')) intl = "+"; - snprintf(buf, sizeof(buf), "TEL;%s:%s\%s", category_string, intl, number); + snprintf(buf, sizeof(buf), "TEL;%s:%s\%s", category_string, + intl, number); vcard_printf(vcards, buf, number); } @@ -375,7 +376,8 @@ static void vcard_printf_org(GString *vcards, contact->department, contact->title); } -static void vcard_printf_adr(GString *vcards, struct phonebook_contact *contact) +static void vcard_printf_adr(GString *vcards, + struct phonebook_contact *contact) { if (address_fields_present(contact) == FALSE) { vcard_printf(vcards, "ADR:"); @@ -461,8 +463,8 @@ void phonebook_add_contact(GString *vcards, struct phonebook_contact *contact, for (; l; l = l->next){ struct phonebook_email *email = l->data; - - vcard_printf_email(vcards, format, email->address, email->type); + vcard_printf_email(vcards, format, email->address, + email->type); } } @@ -470,7 +472,8 @@ void phonebook_add_contact(GString *vcards, struct phonebook_contact *contact, vcard_printf_adr(vcards, contact); if (filter & FILTER_BDAY) - vcard_printf_tag(vcards, format, "BDAY", NULL, contact->birthday); + vcard_printf_tag(vcards, format, "BDAY", NULL, + contact->birthday); if (filter & FILTER_NICKNAME) vcard_printf_slash_tag(vcards, format, "NICKNAME", NULL, @@ -481,7 +484,8 @@ void phonebook_add_contact(GString *vcards, struct phonebook_contact *contact, contact->website); if (filter & FILTER_PHOTO) - vcard_printf_tag(vcards, format, "PHOTO", NULL, contact->photo); + vcard_printf_tag(vcards, format, "PHOTO", NULL, + contact->photo); if (filter & FILTER_ORG) vcard_printf_org(vcards, contact); -- 2.47.3