diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-02-19 08:35:59 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:36 +0800 |
commit | 3b6c8972a51d635309b789b1aef9034ca23dc737 (patch) | |
tree | 3e2843b8f664df4c022b6cf755828a1296fd5718 /plugins/tnef-attachments | |
parent | 333ccc8abf033453996e4a7e16712f2fc3b9e05a (diff) | |
download | gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar.gz gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar.bz2 gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar.lz gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar.xz gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.tar.zst gsoc2013-evolution-3b6c8972a51d635309b789b1aef9034ca23dc737.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'plugins/tnef-attachments')
-rw-r--r-- | plugins/tnef-attachments/tnef-plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/tnef-attachments/tnef-plugin.c b/plugins/tnef-attachments/tnef-plugin.c index 1324535328..977189edb4 100644 --- a/plugins/tnef-attachments/tnef-plugin.c +++ b/plugins/tnef-attachments/tnef-plugin.c @@ -68,7 +68,7 @@ guchar getRruleCount (guchar a, guchar b); guchar getRruleMonthNum (guchar a, guchar b); gchar * getRruleDayname (guchar a); -static gchar* +static gchar * sanitize_filename (const gchar *filename) { gchar * sanitized_name; @@ -409,7 +409,7 @@ void saveVCard (TNEFStruct *tnef, const gchar *tmpdir) { if ((vl = MAPIFindProperty (&(tnef->MapiProperties), PROP_TAG (PT_STRING8, PR_DISPLAY_NAME))) == MAPI_UNDEFINED) { if ((vl=MAPIFindProperty (&(tnef->MapiProperties), PROP_TAG (PT_STRING8, PR_COMPANY_NAME))) == MAPI_UNDEFINED) { if (tnef->subject.size > 0) { - file = sanitize_filename (tnef->subject.data); + file = sanitize_filename (tnef->subject.data); if (!file) return; absfilename = g_strconcat (file, ".vcard", NULL); @@ -1124,7 +1124,7 @@ void saveVTask (TNEFStruct *tnef, const gchar *tmpdir) { variableLength *filename; gint index; gchar *ifilename; - gchar *absfilename, *file; + gchar *absfilename, *file; gchar *charptr, *charptr2; dtr thedate; FILE *fptr; |