Control: tag -1 moreinfo On Sat, Oct 27, 2012 at 23:05:06 +0200, Arthur de Jong wrote: > +@@ -97,39 +85,27 @@ static inline void tio_tv_prepare(struct > + deadline->tv_usec=0; > + return; > + } > +- tio_tv_add(deadline,timeout); > ++ deadline->tv_sec+=timeout/1000; > ++ deadline->tv_sec+=(timeout%1000)*1000; Looks to me like the second line should set tv_usec, not tv_sec Cheers, Julien
Attachment:
signature.asc
Description: Digital signature