diff options
author | Kyuho Jo <kyuho.jo@samsung.com> | 2013-05-07 16:24:01 +0900 |
---|---|---|
committer | Kyuho Jo <kyuho.jo@samsung.com> | 2013-05-07 16:24:01 +0900 |
commit | bbb5fc9886701de1fd66d57876a29411da043fd7 (patch) | |
tree | 65dd6f9e96ee1a5649e305decab71b75ca075458 | |
parent | 9caae8c8200a3768896b1a02d63c81f7ff2a720a (diff) | |
download | email-service-bbb5fc9886701de1fd66d57876a29411da043fd7.tar.gz email-service-bbb5fc9886701de1fd66d57876a29411da043fd7.tar.bz2 email-service-bbb5fc9886701de1fd66d57876a29411da043fd7.zip |
Fixed the bug on deleting vcs files after adding mails.
-rwxr-xr-x | email-core/email-core-smtp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/email-core/email-core-smtp.c b/email-core/email-core-smtp.c index 5c747de..43dd9de 100755 --- a/email-core/email-core-smtp.c +++ b/email-core/email-core-smtp.c @@ -919,15 +919,6 @@ INTERNAL_FUNC int emcore_add_mail(email_mail_data_t *input_mail_data, email_atta emstorage_rollback_transaction(NULL, NULL, NULL); goto FINISH_OFF; } - - if ((ext = strrchr(attachment_data_list[i].attachment_name, '.'))) { - if (!strncmp(ext, ".vcs", strlen(".vcs"))) - remove(attachment_data_list[i].attachment_path); - else if (!strncmp(ext, ".vcf", strlen(".vcf"))) - remove(attachment_data_list[i].attachment_path); - else if (!strncmp(ext, ".vnt", strlen(".vnt"))) - remove(attachment_data_list[i].attachment_path); - } } memset(&attachment_tbl, 0, sizeof(emstorage_attachment_tbl_t)); |