aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/pst-import
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-07-12 20:02:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-08-20 02:17:55 +0800
commitc85109fc322137596bf34cffc5445d568223c60d (patch)
tree711e6d5b2eb3d6c7780d1d01e20d980c67a77f9e /plugins/pst-import
parent7d1751cc26a75166019917ec8c3b35e1083d27d6 (diff)
downloadgsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.gz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.bz2
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.lz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.xz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.zst
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'plugins/pst-import')
-rw-r--r--plugins/pst-import/pst-importer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/pst-import/pst-importer.c b/plugins/pst-import/pst-importer.c
index 319e7b71f4..205bfff333 100644
--- a/plugins/pst-import/pst-importer.c
+++ b/plugins/pst-import/pst-importer.c
@@ -1074,7 +1074,7 @@ pst_create_folder (PstImporter *m)
pos = dest + strlen (parent);
while (pos != NULL && pos < dest_end) {
- pos = g_strstr_len (pos+1, dest_end-pos, "/");
+ pos = g_strstr_len (pos + 1, dest_end - pos, "/");
if (pos != NULL) {
CamelFolder *folder;
@@ -1739,7 +1739,7 @@ set_cal_attachments (ECalClient *cal,
orig_filename = camel_mime_part_get_filename (part);
if (orig_filename == NULL) {
- g_warning("Ignoring unnamed attachment");
+ g_warning ("Ignoring unnamed attachment");
attach = attach->next;
continue; /* Ignore unnamed attachments */
}
@@ -1753,7 +1753,7 @@ set_cal_attachments (ECalClient *cal,
dirname = g_path_get_dirname (path);
if (g_mkdir_with_parents (dirname, 0777) == -1) {
- g_warning("Could not create directory %s: %s", dirname, g_strerror(errno));
+ g_warning ("Could not create directory %s: %s", dirname, g_strerror (errno));
g_free (dirname);
attach = attach->next;
continue;
@@ -1762,14 +1762,14 @@ set_cal_attachments (ECalClient *cal,
if (g_access (path, F_OK) == 0) {
if (g_access (path, W_OK) != 0) {
- g_warning("Could not write file %s - file exists", path);
+ g_warning ("Could not write file %s - file exists", path);
attach = attach->next;
continue;
}
}
if (g_stat (path, &st) != -1 && !S_ISREG (st.st_mode)) {
- g_warning("Could not write file %s - not a file", path);
+ g_warning ("Could not write file %s - not a file", path);
attach = attach->next;
continue;
}