aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-27 23:40:13 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-27 23:40:13 +0000
commitd75700b8ad19f10e54eeec9db0a03fa726fd0570 (patch)
tree1466503e1958a9a260df33eefb785ca71d0abe38
parentc695e65ac35c3c37560a67eb746b046d727eea2e (diff)
downloadfetchmail-d75700b8ad19f10e54eeec9db0a03fa726fd0570.tar.gz
fetchmail-d75700b8ad19f10e54eeec9db0a03fa726fd0570.tar.bz2
fetchmail-d75700b8ad19f10e54eeec9db0a03fa726fd0570.zip
Fix skip bug.
svn path=/trunk/; revision=578
-rw-r--r--NEWS2
-rw-r--r--rcfile_y.y5
2 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 3ed6357a..15caddf1 100644
--- a/NEWS
+++ b/NEWS
@@ -30,6 +30,8 @@ bugs --
* Fixed a fencepost error in the APOP code that was causing a core dump.
+* Skip flag wasn't getting reset on poll hosts following a skipped one.
+
fetchmail-2.0 (Mon Nov 18 00:32:17 EST 1996):
* Fix typo in setitimer call setup that caused obscure bugs under FreeBSD.
diff --git a/rcfile_y.y b/rcfile_y.y
index 40065639..898c560e 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -70,7 +70,7 @@ statement : SET BATCHLIMIT MAP NUMBER {batchlimit = $4;}
/*
* The way the next two productions are written depends on the fact that
- * userspecs cannot be empty. It's a kluge to deal with files that sset
+ * userspecs cannot be empty. It's a kluge to deal with files that set
* up a load of defaults and then have poll statements following with no
* user options at all.
*/
@@ -78,7 +78,8 @@ statement : SET BATCHLIMIT MAP NUMBER {batchlimit = $4;}
| define_server serverspecs userspecs
;
-define_server : POLL STRING {strcpy(current.servername, $2);}
+define_server : POLL STRING {strcpy(current.servername, $2);
+ current.skip = FALSE;}
| SKIP STRING {strcpy(current.servername, $2);
current.skip = TRUE;}
| DEFAULTS {strcpy(current.servername,"defaults");}