diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-14 23:16:24 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-14 23:16:24 +0000 |
commit | 06f83ea8b4a9d711aa0e308223c6be2e6ca0b08e (patch) | |
tree | 40481fb9f0d52ff5b65e815a840b1ccfb3c2f715 /rcfile_y.y | |
parent | 70dcc659b0d246e0fd2879d06400c287b8638f42 (diff) | |
download | fetchmail-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 'rcfile_y.y')
-rw-r--r-- | rcfile_y.y | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -66,8 +66,7 @@ statement_list : statement ; /* future global options should also have the form SET <name> <value> */ -statement : SET BATCHLIMIT MAP NUMBER {batchlimit = $4;} - | SET LOGFILE MAP STRING {logfile = xstrdup($4);} +statement : SET LOGFILE MAP STRING {logfile = xstrdup($4);} /* * The way the next two productions are written depends on the fact that @@ -194,6 +193,7 @@ user_option : TO localnames HERE | REWRITE {current.norewrite = ($1==FLAG_TRUE);} | LIMIT NUMBER {current.limit = $2;} | FETCHLIMIT NUMBER {current.fetchlimit = $2;} + | BATCHLIMIT NUMBER {current.batchlimit = $2;} ; %% @@ -345,6 +345,7 @@ static void prc_register(void) FLAG_FORCE(norewrite); FLAG_FORCE(limit); FLAG_FORCE(fetchlimit); + FLAG_FORCE(batchlimit); #undef FLAG_FORCE (void) hostalloc(¤t); @@ -377,6 +378,7 @@ void optmerge(struct query *h2, struct query *h1) FLAG_MERGE(norewrite); FLAG_MERGE(limit); FLAG_MERGE(fetchlimit); + FLAG_MERGE(batchlimit); #undef FLAG_MERGE } |