aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/tnef-attachments
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-02-19 08:35:59 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:36 +0800
commit3b6c8972a51d635309b789b1aef9034ca23dc737 (patch)
tree3e2843b8f664df4c022b6cf755828a1296fd5718 /plugins/tnef-attachments
parent333ccc8abf033453996e4a7e16712f2fc3b9e05a (diff)
downloadgsoc2013-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.c6
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;