aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/tnef-attachments
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-19 02:07:42 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-19 02:07:42 +0800
commitfa360fde289f9b850191f89059d1a5e6d67c07c7 (patch)
treed1d8a43364d21daf94d5b9ac1f352faffd03dcd2 /plugins/tnef-attachments
parentbecd78e26ed61ff386d0b229f85bdcf590c28e94 (diff)
downloadgsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.gz
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.bz2
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.lz
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.xz
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.tar.zst
gsoc2013-evolution-fa360fde289f9b850191f89059d1a5e6d67c07c7.zip
More whitespace cleanup.
Diffstat (limited to 'plugins/tnef-attachments')
-rw-r--r--plugins/tnef-attachments/tnef-plugin.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/tnef-attachments/tnef-plugin.c b/plugins/tnef-attachments/tnef-plugin.c
index 2acd12322e..a74dcee7a6 100644
--- a/plugins/tnef-attachments/tnef-plugin.c
+++ b/plugins/tnef-attachments/tnef-plugin.c
@@ -263,7 +263,7 @@ void processTnef(TNEFStruct *tnef) {
} else {
sprintf(ifilename, "%s/%s.rtf", filepath, tnef->subject.data);
}
- for(i=0; i<strlen(ifilename); i++)
+ for (i=0; i<strlen(ifilename); i++)
if (ifilename[i] == ' ')
ifilename[i] = '_';
@@ -295,10 +295,10 @@ void processTnef(TNEFStruct *tnef) {
/* See if the contents are stored as "attached data" */
/* Inside the MAPI blocks. */
- if((filedata = MAPIFindProperty(&(p->MAPI),
+ if ((filedata = MAPIFindProperty(&(p->MAPI),
PROP_TAG(PT_OBJECT, PR_ATTACH_DATA_OBJ)))
== MAPI_UNDEFINED) {
- if((filedata = MAPIFindProperty(&(p->MAPI),
+ if ((filedata = MAPIFindProperty(&(p->MAPI),
PROP_TAG(PT_BINARY, PR_ATTACH_DATA_OBJ)))
== MAPI_UNDEFINED) {
/* Nope, standard TNEF stuff. */
@@ -366,7 +366,7 @@ void processTnef(TNEFStruct *tnef) {
} else {
sprintf(ifilename, "%s/%s", filepath, filename->data);
}
- for(i=0; i<strlen(ifilename); i++)
+ for (i=0; i<strlen(ifilename); i++)
if (ifilename[i] == ' ')
ifilename[i] = '_';
@@ -431,7 +431,7 @@ void saveVCard(TNEFStruct *tnef) {
sprintf(ifilename, "%s/%s.vcard", filepath, vl->data);
}
}
- for(i=0; i<strlen(ifilename); i++)
+ for (i=0; i<strlen(ifilename); i++)
if (ifilename[i] == ' ')
ifilename[i] = '_';
printf("%s\n", ifilename);
@@ -931,7 +931,7 @@ void saveVCalendar(TNEFStruct *tnef) {
}
if (filename!=NULL) {
fprintf(fptr, "UID:");
- for(index=0;index<filename->size;index++) {
+ for (index=0;index<filename->size;index++) {
fprintf(fptr,"%02X", (guchar)filename->data[index]);
}
fprintf(fptr,"\n");
@@ -1027,7 +1027,7 @@ void saveVCalendar(TNEFStruct *tnef) {
}
/* Summary */
filename = NULL;
- if((filename=MAPIFindProperty(&(tnef->MapiProperties),
+ if ((filename=MAPIFindProperty(&(tnef->MapiProperties),
PROP_TAG(PT_STRING8, PR_CONVERSATION_TOPIC)))
!= MAPI_UNDEFINED) {
fprintf(fptr, "SUMMARY:");
@@ -1156,7 +1156,7 @@ void saveVTask(TNEFStruct *tnef) {
} else {
sprintf(ifilename, "%s/%s.vcf", filepath, vl->data);
}
- for(i=0; i<strlen(ifilename); i++)
+ for (i=0; i<strlen(ifilename); i++)
if (ifilename[i] == ' ')
ifilename[i] = '_';
printf("%s\n", ifilename);
@@ -1324,7 +1324,7 @@ void printRtf(FILE *fptr, variableLength *vl) {
key = 0;
brace_ct = 0;
- for(index = 0, byte=vl->data; index < vl->size; index++, byte++) {
+ for (index = 0, byte=vl->data; index < vl->size; index++, byte++) {
if (*byte == '}') {
brace_ct--;
key = 0;