aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/backup-restore/backup-restore.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-06-22 23:09:21 +0800
committerMilan Crha <mcrha@redhat.com>2009-06-22 23:09:21 +0800
commit7a9ab4f23b918dbf4fd0790f002924dc7c18a0cf (patch)
tree3aca18c7f9691569334205f1ce41b521d3cf8adf /plugins/backup-restore/backup-restore.c
parentd38e8b65dbbcf20ccbdc9ffd73830fd1725f91c6 (diff)
downloadgsoc2013-evolution-7a9ab4f23b918dbf4fd0790f002924dc7c18a0cf.tar.gz
gsoc2013-evolution-7a9ab4f23b918dbf4fd0790f002924dc7c18a0cf.tar.zst
gsoc2013-evolution-7a9ab4f23b918dbf4fd0790f002924dc7c18a0cf.zip
Bug #566369 - backup-restore - recognize broken archive
Diffstat (limited to 'plugins/backup-restore/backup-restore.c')
-rw-r--r--plugins/backup-restore/backup-restore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/backup-restore/backup-restore.c b/plugins/backup-restore/backup-restore.c
index e550851762..b4f0d98011 100644
--- a/plugins/backup-restore/backup-restore.c
+++ b/plugins/backup-restore/backup-restore.c
@@ -55,18 +55,18 @@ static void
backup (const gchar *filename, gboolean restart)
{
if (restart)
- execl (EVOLUTION_TOOLSDIR "/evolution-backup", "evolution-backup", "--gui", "--backup", "--restart", filename, NULL);
+ execl (EVOLUTION_TOOLSDIR "/evolution-backup", "evolution-backup", "--gui", "--backup", "--restart", filename, (char *)NULL);
else
- execl (EVOLUTION_TOOLSDIR "/evolution-backup", "evolution-backup", "--gui", "--backup", filename, NULL);
+ execl (EVOLUTION_TOOLSDIR "/evolution-backup", "evolution-backup", "--gui", "--backup", filename, (char *)NULL);
}
static void
restore (const gchar *filename, gboolean restart)
{
if (restart)
- execl (EVOLUTION_TOOLSDIR "/evolution-backup", "evolution-backup", "--gui", "--restore", "--restart", filename, NULL);
+ execl (EVOLUTION_TOOLSDIR "/evolution-backup", "evolution-backup", "--gui", "--restore", "--restart", filename, (char *)NULL);
else
- execl (EVOLUTION_TOOLSDIR "/evolution-backup", "evolution-backup", "--gui", "--restore", filename, NULL);
+ execl (EVOLUTION_TOOLSDIR "/evolution-backup", "evolution-backup", "--gui", "--restore", filename, (char *)NULL);
}
static gboolean