minor code cleanup

This commit is contained in:
SJ
2012-12-04 13:39:24 +01:00
parent e30025e139
commit 2de295008e
3 changed files with 5 additions and 7 deletions

View File

@ -141,9 +141,9 @@ int test_htmls(){
int main(int argc, char **argv){
int n;
struct __config cfg;
//struct __config cfg;
cfg = read_config(CONFIG_FILE);
//cfg = read_config(CONFIG_FILE);
n = test_urls();
printf("testing fixURL(), errors: %d\n", n);

View File

@ -297,7 +297,7 @@ void usage(){
int main(int argc, char **argv){
int i, c, rc=0, n_mbox=0, tot_msgs=0;
char *configfile=CONFIG_FILE, *emlfile=NULL, *mboxdir=NULL, *mbox[MBOX_ARGS], *directory=NULL;
char *imapserver=NULL, *username=NULL, *password=NULL, *skiplist=SKIPLIST, *folder=NULL;
char *imapserver=NULL, *username=NULL, *password=NULL, *skiplist=SKIPLIST;
struct session_data sdata;
struct __config cfg;
struct __data data;
@ -382,7 +382,7 @@ int main(int argc, char **argv){
break;
case 'F' :
folder = optarg;
//folder = optarg;
break;
case 'h' :