aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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++;
}