mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:10:12 +01:00
final imap folder fix
Change-Id: I8997496cf061b1b05c3992c02769c5280473872e Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
5172bfd7c1
commit
12292111a8
@ -443,6 +443,12 @@ int list_folders(int sd, int *seq, int use_ssl, char *folder_name, struct __data
|
||||
// trim the "A3 OK LIST completed" trailer off
|
||||
if(p) *p = '\0';
|
||||
|
||||
// No folder list, so this must be a leaf folder
|
||||
if(strlen(buf) == 0){
|
||||
addnode(data->imapfolders, folder_name);
|
||||
return OK;
|
||||
}
|
||||
|
||||
memset(attrs, 0, sizeof(attrs));
|
||||
|
||||
p = buf;
|
||||
|
Loading…
Reference in New Issue
Block a user