aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-12-07 01:01:04 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-12-07 01:01:04 +0000
commitce8a1c68e56a8237b597c85c2f1dd9bd0c6db188 (patch)
tree067d12fec14c85cdb81a6849ee40726b5de768d1 /fetchmail.c
parentacb741c73356b37fbc9dac0ffb7739cc63170433 (diff)
downloadfetchmail-ce8a1c68e56a8237b597c85c2f1dd9bd0c6db188.tar.gz
fetchmail-ce8a1c68e56a8237b597c85c2f1dd9bd0c6db188.tar.bz2
fetchmail-ce8a1c68e56a8237b597c85c2f1dd9bd0c6db188.zip
Wakeup clears `wedged' flags.
svn path=/trunk/; revision=2261
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 0b62590e..a3a4190d 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -722,6 +722,10 @@ int main (int argc, char **argv)
#else
error(0, 0, _("awakened by signal %d"), lastsig);
#endif
+ /* received a wakeup - unwedge all servers in case */
+ /* the problem has been manually repaired */
+ for (ctl = querylist; ctl; ctl = ctl->next)
+ ctl->wedged = FALSE;
}
}