diff options
-rw-r--r-- | trainstore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trainstore.c b/trainstore.c index 3f6fb38..bf090b9 100644 --- a/trainstore.c +++ b/trainstore.c @@ -155,7 +155,7 @@ int backend_handle_mail(struct mailbox_transaction_context *t, t_push(); /* Generate unique id for mail */ - + /* get date header */ if (mail_get_first_header(mail, "Date", &date) == 0) { mail_storage_set_error(t->box->storage, @@ -201,7 +201,7 @@ int backend_handle_mail(struct mailbox_transaction_context *t, /* check if this mail is already marked as the opposit */ check_file = t_malloc(2 + strlen(other) + strlen(name)); i_snprintf(check_file, 1 + strlen(other) + strlen(name), "%s/%s", other, name); - + if (stat(check_file, &sb) == 0) { debug("mail is marked opposit, remove it there"); unlink(check_file); @@ -216,7 +216,7 @@ int backend_handle_mail(struct mailbox_transaction_context *t, ret = 0; goto out; } - + fd = creat(file, 0600); if (fd < 0) { mail_storage_set_error(t->box->storage, |