mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:20:12 +01:00
folder trim fix
Change-Id: I3afce82b84bff4b8e24c52babf79666bfbc904b4 Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
6d6004c9ab
commit
846acd9b6f
@ -129,7 +129,7 @@ int process_imap_folder(int sd, int *seq, char *folder, char *main_folder, struc
|
||||
if(data->recursive_folder_names == 1){
|
||||
|
||||
// trim the main folder name from the stored value in folder table
|
||||
if(data->import->trim_folder_name == 1 && main_folder){
|
||||
if(data->import->trim_folder_name == 1 && main_folder && strlen(main_folder) < strlen(folder)){
|
||||
folder += strlen(main_folder);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user