Increased buffer size

Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
This commit is contained in:
tyrolyean 2020-05-01 00:44:14 +02:00
parent 0431bcda91
commit 3614bf3078
No known key found for this signature in database
GPG Key ID: EDD105663B707C62
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ int replace_files(struct email_t* mail, const char* dirname, bool* created){
mime_len = strlen(mail->file_info.mime_type);
}
size_t html_buffer_len = strlen(html_filler_pref) + 2*url_len + 50 +
size_t html_buffer_len = strlen(html_filler_pref) + 2*url_len + 100 +
mime_len + 2*strlen(mail->file_info.name);
size_t text_buffer_len = strlen(html_filler_pref) + url_len + 50 +