pilerimport fixes

This commit is contained in:
SJ
2014-10-13 09:58:39 +02:00
parent 8798ea7921
commit 2a49299c82
2 changed files with 17 additions and 4 deletions

View File

@@ -351,7 +351,7 @@ ENDE_IMAP:
int import_from_pop3_server(char *server, char *username, char *password, int port, struct session_data *sdata, struct __data *data, int dryrun, struct __config *cfg){
int rc, ret=OK, sd, use_ssl=0;
char port_string[6];
char port_string[8];
struct addrinfo hints, *res;
snprintf(port_string, sizeof(port_string)-1, "%d", port);