aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-14 23:16:24 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-14 23:16:24 +0000
commit06f83ea8b4a9d711aa0e308223c6be2e6ca0b08e (patch)
tree40481fb9f0d52ff5b65e815a840b1ccfb3c2f715 /options.c
parent70dcc659b0d246e0fd2879d06400c287b8638f42 (diff)
downloadfetchmail-06f83ea8b4a9d711aa0e308223c6be2e6ca0b08e.tar.gz
fetchmail-06f83ea8b4a9d711aa0e308223c6be2e6ca0b08e.tar.bz2
fetchmail-06f83ea8b4a9d711aa0e308223c6be2e6ca0b08e.zip
The batchlimit option is now per user.
svn path=/trunk/; revision=764
Diffstat (limited to 'options.c')
-rw-r--r--options.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/options.c b/options.c
index bbd42cf6..f3b76831 100644
--- a/options.c
+++ b/options.c
@@ -119,7 +119,6 @@ struct query *ctl; /* option record to be initialized */
int option_index;
memset(ctl, '\0', sizeof(struct query)); /* start clean */
- cmd_batchlimit = -1;
while (!errflag &&
(c = getopt_long(argc,argv,shortoptions,
@@ -253,7 +252,7 @@ struct query *ctl; /* option record to be initialized */
break;
case 'b':
case LA_BATCHLIMIT:
- cmd_batchlimit = atoi(optarg);
+ ctl->batchlimit = atoi(optarg);
break;
case 'B':
case LA_FETCHLIMIT: