diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-12-02 17:57:25 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-12-02 17:57:25 +0100 |
commit | 287d986501602f384e1c2aa941572a9aea5456e0 (patch) | |
tree | f4b8cc0fb64f90ea4930439147d3ae8e22509999 /src | |
parent | support up and left (diff) | |
download | read-quickly-287d986501602f384e1c2aa941572a9aea5456e0.tar.gz read-quickly-287d986501602f384e1c2aa941572a9aea5456e0.tar.bz2 read-quickly-287d986501602f384e1c2aa941572a9aea5456e0.tar.xz |
make sure the timer has expired
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/rq.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -60,7 +60,6 @@ */ static const char *argv0; - /** * Have the terminal been resized? */ @@ -286,6 +285,9 @@ static int display_file(int fd, int ttyfd, long rate) goto rewait; break; case 0: + if (!caught_sigalrm) + goto rewait; + caught_sigalrm = 0; break; default: goto rewait; |