diff --git a/src/pilerimport.c b/src/pilerimport.c index 9471f6a..0ce0d6c 100644 --- a/src/pilerimport.c +++ b/src/pilerimport.c @@ -264,6 +264,8 @@ struct node *q; + inithash(data->imapfolders); + snprintf(port_string, sizeof(port_string)-1, "%d", port); memset(&hints, 0, sizeof(hints)); @@ -297,8 +299,6 @@ } - inithash(data->imapfolders); - rc = list_folders(sd, &seq, use_ssl, data); if(rc == ERR) goto ENDE_IMAP;