Diff between a6c782085ba96fc03c9279d175d556c5e0425828 and 2cad93864e878a9e7041230745098de8cde5fd10

Changed Files

File Additions Deletions Status
obexd/plugins/vcard.c +10 -6 modified

Full Patch

diff --git a/obexd/plugins/vcard.c b/obexd/plugins/vcard.c
index 849e9bb..09f4f40 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);