aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-migrate.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2004-01-16 07:09:42 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-01-16 07:09:42 +0800
commitba207258a05d510139dae5e323d59eef7634a087 (patch)
tree9e9368afa7606777921916514d931b91a8cf0944 /mail/em-migrate.c
parentafe8c997fd6887bd22ced7d6e0a1630fcf350131 (diff)
downloadgsoc2013-evolution-ba207258a05d510139dae5e323d59eef7634a087.tar.gz
gsoc2013-evolution-ba207258a05d510139dae5e323d59eef7634a087.tar.zst
gsoc2013-evolution-ba207258a05d510139dae5e323d59eef7634a087.zip
fixed a type-o
svn path=/trunk/; revision=24258
Diffstat (limited to 'mail/em-migrate.c')
-rw-r--r--mail/em-migrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-migrate.c b/mail/em-migrate.c
index 4ad2bc7fc8..2f437a5ff2 100644
--- a/mail/em-migrate.c
+++ b/mail/em-migrate.c
@@ -1245,7 +1245,7 @@ cp (const char *src, const char *dest, gboolean show_progress)
/* if the dest file exists and has content, abort - we don't
* want to corrupt their existing data */
- if (stat (dest, &st) != -1 || st.st_size > 0)
+ if (stat (dest, &st) != -1 && st.st_size > 0)
return -1;
if ((fd[0] = open (src, O_RDONLY)) == -1)