diff options
author | Milan Crha <mcrha@redhat.com> | 2009-06-22 23:09:21 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-06-22 23:09:21 +0800 |
commit | 7a9ab4f23b918dbf4fd0790f002924dc7c18a0cf (patch) | |
tree | 3aca18c7f9691569334205f1ce41b521d3cf8adf /plugins/backup-restore/backup-restore.c | |
parent | d38e8b65dbbcf20ccbdc9ffd73830fd1725f91c6 (diff) | |
download | gsoc2013-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.c | 8 |
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 |