diff options
| author | Matthias Andree <matthias.andree@gmx.de> | 2006-03-03 20:55:22 +0000 | 
|---|---|---|
| committer | Matthias Andree <matthias.andree@gmx.de> | 2006-03-03 20:55:22 +0000 | 
| commit | e15800830f0dfb5a944b1c47ee331a57466de295 (patch) | |
| tree | f0091ced57b04e98a1ff5a55593d85c53c23fd4c /fetchmail.c | |
| parent | bfabe0f3b95edc0e5ad937fc07f9bbba35aba929 (diff) | |
| download | fetchmail-e15800830f0dfb5a944b1c47ee331a57466de295.tar.gz fetchmail-e15800830f0dfb5a944b1c47ee331a57466de295.tar.bz2 fetchmail-e15800830f0dfb5a944b1c47ee331a57466de295.zip | |
Load UID lists only after initializing report/syslog.
svn path=/branches/BRANCH_6-3/; revision=4716
Diffstat (limited to 'fetchmail.c')
| -rw-r--r-- | fetchmail.c | 20 | 
1 files changed, 12 insertions, 8 deletions
| diff --git a/fetchmail.c b/fetchmail.c index 640c9f69..efff53b8 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -302,6 +302,18 @@ int main(int argc, char **argv)  #endif  	report_init((run.poll_interval == 0 || nodetach) && !run.logfile); +#ifdef POP3_ENABLE +    /* initialize UID handling */ +    { +	int st; + +	if (!versioninfo && (st = prc_filecheck(run.idfile, !versioninfo)) != 0) +	    exit(st); +	else +	    initialize_saved_lists(querylist, run.idfile); +    } +#endif /* POP3_ENABLE */ +      /* construct the lockfile */      lock_setup(); @@ -1266,14 +1278,6 @@ static int load_params(int argc, char **argv, int optind)  	}      } -#ifdef POP3_ENABLE -    /* initialize UID handling */ -    if (!versioninfo && (st = prc_filecheck(run.idfile, !versioninfo)) != 0) -	exit(st); -    else -	initialize_saved_lists(querylist, run.idfile); -#endif /* POP3_ENABLE */ -      /*       * If the user didn't set a last-resort user to get misaddressed       * multidrop mail, set an appropriate default here. | 
