diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-04-23 15:38:16 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-04-23 15:38:16 +0200 |
commit | 160c6ec5eb369d309350e9fdf588e29d4ea215bd (patch) | |
tree | e3fc59f1dba568d3b2f895c6fca2626045a609dd /tools.c | |
parent | 88f13b1b296218589a44dac227964a8a47a75e50 (diff) | |
download | vdr-160c6ec5eb369d309350e9fdf588e29d4ea215bd.tar.gz vdr-160c6ec5eb369d309350e9fdf588e29d4ea215bd.tar.bz2 |
Implemented replay progress display
Diffstat (limited to 'tools.c')
-rw-r--r-- | tools.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'osm.c' for copyright information and * how to reach the author. * - * $Id: tools.c 1.3 2000/04/15 15:10:05 kls Exp $ + * $Id: tools.c 1.4 2000/04/23 15:30:17 kls Exp $ */ #define _GNU_SOURCE @@ -40,8 +40,7 @@ char readchar(int filedes) bool readint(int filedes, int &n) { - //XXX timeout!! - return read(filedes, &n, sizeof(n)); + return read(filedes, &n, sizeof(n)) == sizeof(n); } char *readline(FILE *f) |