diff options
author | Syam Sidhardhan <syamsidhardh@gmail.com> | 2011-06-27 03:26:06 +0530 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2011-07-09 19:13:52 +0300 |
commit | 1666935c5ae68bf645ca10b18303378adf77f599 (patch) | |
tree | d7d0ecbec95afe2dead887b7503c2d306b39932f /plugins/phonebook-tracker.c | |
parent | 3dfa9a2b458ab0fef3cd56c6fd22aa2415c6c80c (diff) | |
download | obexd-1666935c5ae68bf645ca10b18303378adf77f599.tar.gz |
Fix white space related coding style issues
- Corrected space before '{'
- Corrected space after 'for'
- Corrected space during array initialization
- Corrected space between function arguments.
Diffstat (limited to 'plugins/phonebook-tracker.c')
-rw-r--r-- | plugins/phonebook-tracker.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c index d396203..52c4746 100644 --- a/plugins/phonebook-tracker.c +++ b/plugins/phonebook-tracker.c @@ -1020,7 +1020,7 @@ static void contact_add_numbers(struct phonebook_contact *contact, aff_numbers = g_strsplit(reply[COL_PHONE_AFF], MAIN_DELIM, MAX_FIELDS); if (aff_numbers) - for(i = 0;aff_numbers[i]; ++i) + for (i = 0; aff_numbers[i]; ++i) add_aff_number(contact, aff_numbers[i], reply[COL_AFF_TYPE]); @@ -1077,7 +1077,7 @@ static void contact_add_emails(struct phonebook_contact *contact, aff_emails = g_strsplit(reply[COL_EMAIL_AFF], MAIN_DELIM, MAX_FIELDS); if (aff_emails) - for(i = 0; aff_emails[i] != NULL; ++i) + for (i = 0; aff_emails[i] != NULL; ++i) add_aff_field(contact, aff_emails[i], add_email); g_strfreev(aff_emails); @@ -1094,7 +1094,7 @@ static void contact_add_addresses(struct phonebook_contact *contact, MAX_FIELDS); if (aff_addr) - for(i = 0; aff_addr[i] != NULL; ++i) + for (i = 0; aff_addr[i] != NULL; ++i) add_aff_field(contact, aff_addr[i], add_address); g_strfreev(aff_addr); @@ -1110,7 +1110,7 @@ static void contact_add_urls(struct phonebook_contact *contact, aff_url = g_strsplit(reply[COL_URL], MAIN_DELIM, MAX_FIELDS); if (aff_url) - for(i = 0; aff_url[i] != NULL; ++i) + for (i = 0; aff_url[i] != NULL; ++i) add_aff_field(contact, aff_url[i], add_url); g_strfreev(aff_url); @@ -1553,7 +1553,7 @@ int phonebook_pull_read(void *request) data->newmissedcalls = 0; - if (g_strcmp0(data->req_name,"/telecom/mch.vcf") == 0 && + if (g_strcmp0(data->req_name, "/telecom/mch.vcf") == 0 && data->tracker_index == 0) { /* new missed calls amount should be counted only once - it * will be done during generating first part of results of |