mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:20:12 +01:00
pilerimport fix
This commit is contained in:
parent
9580e2f70e
commit
74ab6f0193
@ -264,6 +264,8 @@ int import_from_imap_server(char *server, char *username, char *password, int po
|
||||
struct node *q;
|
||||
|
||||
|
||||
inithash(data->imapfolders);
|
||||
|
||||
snprintf(port_string, sizeof(port_string)-1, "%d", port);
|
||||
|
||||
memset(&hints, 0, sizeof(hints));
|
||||
@ -297,8 +299,6 @@ int import_from_imap_server(char *server, char *username, char *password, int po
|
||||
}
|
||||
|
||||
|
||||
inithash(data->imapfolders);
|
||||
|
||||
rc = list_folders(sd, &seq, use_ssl, data);
|
||||
if(rc == ERR) goto ENDE_IMAP;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user