From 8798ea792103b9b37a96d690154d63f3d80e6aab Mon Sep 17 00:00:00 2001 From: SJ Date: Fri, 10 Oct 2014 14:57:26 +0200 Subject: [PATCH] import port fix --- src/config.h | 2 +- src/pilerimport.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.h b/src/config.h index 257fcdc0..15ac5819 100644 --- a/src/config.h +++ b/src/config.h @@ -14,7 +14,7 @@ #define VERSION "1.1.1-pre" -#define BUILD 891 +#define BUILD 892 #define HOSTID "mailarchiver" diff --git a/src/pilerimport.c b/src/pilerimport.c index cb7d9a83..20d8e56e 100644 --- a/src/pilerimport.c +++ b/src/pilerimport.c @@ -257,7 +257,7 @@ int import_from_maildir(char *directory, struct session_data *sdata, struct __da int import_from_imap_server(char *server, char *username, char *password, int port, struct session_data *sdata, struct __data *data, char *skiplist, int dryrun, struct __config *cfg){ int i, rc=ERR, ret=OK, sd, seq=1, skipmatch, use_ssl=0; - char port_string[6], puf[SMALLBUFSIZE]; + char port_string[8], puf[SMALLBUFSIZE]; struct addrinfo hints, *res; struct node *q;