diff options
-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 { |