diff options
author | Bert Münnich <ber.t@gmx.com> | 2011-10-13 16:53:17 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@gmx.com> | 2011-10-13 16:53:17 +0200 |
commit | 61caa5511f6dd6b5df98e1ea5deb25e61b216e19 (patch) | |
tree | d0319e03e88de6d742b568e7759ff89cb573a0e2 | |
parent | 4383a651c733ac59cd00f193c5115567f6a72f5d (diff) |
Fix TV_ADD_MSEC macro
-rw-r--r-- | util.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,8 +47,8 @@ } #define TV_ADD_MSEC(tv,t) { \ - (tv)->tv_sec = (t) / 1000; \ - (tv)->tv_usec = (t) % 1000 * 1000; \ + (tv)->tv_sec += (t) / 1000; \ + (tv)->tv_usec += (t) % 1000 * 1000; \ } typedef struct { |