remove unneeded (wrong) line, timeval is already cleared - sob - simple output bar
(HTM) git clone git://git.codemadness.org/sob
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit bfe40b1849339039727903c1037db44c59580e6e
(DIR) parent 011c246b6b581fb3a64c69be9ab6b31ba012a7bd
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 4 Sep 2015 11:34:46 +0200
remove unneeded (wrong) line, timeval is already cleared
Diffstat:
M sob.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/sob.c b/sob.c
@@ -584,7 +584,6 @@ pipe_rw(int fd_in, int fd_out, char *writestr,
maxfd = fd_out;
}
memset(&tv, 0, sizeof(tv));
- tv.tv_usec = 0;
tv.tv_usec = 50000; /* 50 ms */
if((r = select(maxfd + 1, haswritten ? &fdr : NULL,