Fixed the invalid name with long attachment name
authorSunghyun Kwon <sh0701.kwon@samsung.com>
Mon, 29 Apr 2013 10:18:34 +0000 (19:18 +0900)
committerSunghyun Kwon <sh0701.kwon@samsung.com>
Mon, 29 Apr 2013 10:18:34 +0000 (19:18 +0900)
email-core/email-core-smtp.c

index 06a6181..5c747de 100755 (executable)
@@ -2259,7 +2259,7 @@ static int attach_part(BODY *body, const unsigned char *data, int data_len, char
                        goto FINISH_OFF;
                }
 
-               result_file_name = em_replace_string(base64_file_name, "\015\012", "");
+               result_file_name = em_replace_all_string(base64_file_name, "\015\012", "");
 
                EM_DEBUG_LOG("base64_file_name_length [%d]", base64_file_name_length);