From 47838a059f9e959bb42e8c2f25f7f7e5d3424048 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sat, 8 Aug 2020 21:29:41 +0200 Subject: [PATCH] pilerimport.c fixes Signed-off-by: Janos SUTO --- src/pilerimport.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pilerimport.c b/src/pilerimport.c index eaf7b87d..6b34d6f0 100644 --- a/src/pilerimport.c +++ b/src/pilerimport.c @@ -62,7 +62,7 @@ void usage(){ int main(int argc, char **argv){ - int i, c, n_mbox=0; + int i, n_mbox=0; char *configfile=CONFIG_FILE, *mbox[MBOX_ARGS], *directory=NULL; char puf[SMALLBUFSIZE], *imapserver=NULL, *pop3server=NULL; struct session_data sdata; @@ -145,9 +145,9 @@ int main(int argc, char **argv){ int option_index = 0; - c = getopt_long(argc, argv, "c:m:M:e:d:i:K:u:p:P:x:F:f:a:b:t:s:g:j:DRroqh?", long_options, &option_index); + int c = getopt_long(argc, argv, "c:m:M:e:d:i:K:u:p:P:x:F:f:a:b:t:s:g:j:DRroqh?", long_options, &option_index); #else - c = getopt(argc, argv, "c:m:M:e:d:i:K:u:p:P:x:F:f:a:b:t:s:g:j:DRroqh?"); + int c = getopt(argc, argv, "c:m:M:e:d:i:K:u:p:P:x:F:f:a:b:t:s:g:j:DRroqh?"); #endif if(c == -1) break;