diff options
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c index e22568a5..eabef1d0 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -43,6 +43,7 @@ int nodetach; /* if TRUE, don't detach daemon process */ char *logfile; /* log file for daemon mode */ int quitmode; /* if --quit was set */ int check_only; /* if --probe was set */ +int cmd_batchlimit; /* if --batchlimit was set */ /* miscellaneous global controls */ char *rcfile; /* path name of rc file */ @@ -559,6 +560,10 @@ static int load_params(int argc, char **argv, int optind) else initialize_saved_lists(querylist, idfile); + /* if cmd_batchlimit was explicitly set, use it to override batchlimit */ + if (cmd_batchlimit > -1) + batchlimit = cmd_batchlimit; + return(implicitmode); } |