aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-12 22:04:42 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-12 22:04:42 +0000
commit528442d31852e40e55eb6bb85dd019f888ede21c (patch)
tree209d2c8c7ec000b1b05f583be02801d1f6fcd805
parent018966f5146a6502c61e67ee47315740729412ff (diff)
downloadfetchmail-528442d31852e40e55eb6bb85dd019f888ede21c.tar.gz
fetchmail-528442d31852e40e55eb6bb85dd019f888ede21c.tar.bz2
fetchmail-528442d31852e40e55eb6bb85dd019f888ede21c.zip
Fix Ville Eeerola's bug.
svn path=/trunk/; revision=535
-rw-r--r--driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 923613a7..564dc50c 100644
--- a/driver.c
+++ b/driver.c
@@ -81,7 +81,7 @@ static void vtalarm(int timeleft)
{
struct itimerval ntimeout;
- ntimeout.it_interval.tv_sec = ntimeout.it_interval.tv_sec = 0;
+ ntimeout.it_interval.tv_sec = ntimeout.it_interval.tv_usec = 0;
ntimeout.it_value.tv_sec = timeleft;
ntimeout.it_value.tv_usec = 0;
setitimer(ITIMER_VIRTUAL, &ntimeout, (struct itimerval *)NULL);