aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-09 16:15:39 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-09 16:15:39 +0000
commit38b40361c0c7e9c7119c84c35b5f03f89050cb7e (patch)
tree78770cf818b65cd3bb9bcdff5c4998c993136035 /driver.c
parent15722ba3948b9c8b86eca5c43fcb590305d83865 (diff)
downloadfetchmail-38b40361c0c7e9c7119c84c35b5f03f89050cb7e.tar.gz
fetchmail-38b40361c0c7e9c7119c84c35b5f03f89050cb7e.tar.bz2
fetchmail-38b40361c0c7e9c7119c84c35b5f03f89050cb7e.zip
Reset timeout so we don't choke on very long messages.
svn path=/trunk/; revision=262
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 2bd471e9..b4be2da2 100644
--- a/driver.c
+++ b/driver.c
@@ -460,6 +460,9 @@ struct hostrec *queryctl;
if (outlevel > O_SILENT && outlevel < O_VERBOSE)
fputc('.',stderr);
sizeticker -= SIZETICKER;
+
+ /* reset timeout so we don't choke on very long messsages */
+ alarm(timeout);
}
lines++;
}