commit bfe40b1849339039727903c1037db44c59580e6e
parent 011c246b6b581fb3a64c69be9ab6b31ba012a7bd
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 4 Sep 2015 11:34:46 +0200
remove unneeded (wrong) line, timeval is already cleared
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
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,