aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/backup-restore
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 11:21:02 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-29 00:13:22 +0800
commit6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (patch)
tree35db5fcc57f2b68c17144fe50cd8c690f6a8c9b2 /plugins/backup-restore
parente61e5e2325f8bb84fbb550d602aed000ae805a4e (diff)
downloadgsoc2013-evolution-6f5464f34ceec9e5701e3e3e651a40f9e6b3a072.tar.gz
gsoc2013-evolution-6f5464f34ceec9e5701e3e3e651a40f9e6b3a072.tar.zst
gsoc2013-evolution-6f5464f34ceec9e5701e3e3e651a40f9e6b3a072.zip
Remove trailing whitespace, again.
Diffstat (limited to 'plugins/backup-restore')
-rw-r--r--plugins/backup-restore/backup-restore.c6
-rw-r--r--plugins/backup-restore/backup.c14
2 files changed, 10 insertions, 10 deletions
diff --git a/plugins/backup-restore/backup-restore.c b/plugins/backup-restore/backup-restore.c
index f9745e8972..59c04a605b 100644
--- a/plugins/backup-restore/backup-restore.c
+++ b/plugins/backup-restore/backup-restore.c
@@ -11,7 +11,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
@@ -83,7 +83,7 @@ sanity_check (const char *filename)
g_message ("Sanity check result %d:%d %d", WIFEXITED (result), WEXITSTATUS (result), result);
return WIFEXITED (result) && (WEXITSTATUS (result) == 0);
-#else
+#else
return result;
#endif
}
@@ -125,7 +125,7 @@ epbr_perform_pre_backup_checks (char* dir)
#ifdef G_OS_WIN32
return TRUE;
#else
- return (g_access (dir, W_OK) == 0);
+ return (g_access (dir, W_OK) == 0);
#endif
}
diff --git a/plugins/backup-restore/backup.c b/plugins/backup-restore/backup.c
index 7e7cc50461..19e9e98bb1 100644
--- a/plugins/backup-restore/backup.c
+++ b/plugins/backup-restore/backup.c
@@ -11,13 +11,13 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*
*/
-
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
@@ -182,7 +182,7 @@ backup (const char *filename)
g_return_if_fail (filename && *filename);
quotedfname = g_shell_quote(filename);
-
+
CANCEL (complete);
txt = _("Shutting down Evolution");
/* FIXME Will the versioned setting always work? */
@@ -226,10 +226,10 @@ restore (const char *filename)
{
char *command;
char *quotedfname;
-
+
g_return_if_fail (filename && *filename);
quotedfname = g_shell_quote(filename);
-
+
/* FIXME Will the versioned setting always work? */
CANCEL (complete);
txt = _("Shutting down Evolution");
@@ -281,7 +281,7 @@ check (const char *filename)
g_return_if_fail (filename && *filename);
quotedfname = g_shell_quote(filename);
-
+
command = g_strdup_printf ("tar ztf %s | grep -e \"^\\.evolution/$\"", quotedfname);
result = system (command);
g_free (command);
@@ -294,7 +294,7 @@ check (const char *filename)
result = system (command);
g_free (command);
g_free (quotedfname);
-
+
g_message ("Second result %d", result);
}