mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Merge remote-tracking branch 'origin/maint-0.2.2'
This commit is contained in:
commit
09759a66ea
@ -292,7 +292,7 @@ circuit_expire_building(void)
|
|||||||
long ms = tor_lround(msec); \
|
long ms = tor_lround(msec); \
|
||||||
struct timeval diff; \
|
struct timeval diff; \
|
||||||
diff.tv_sec = ms / 1000; \
|
diff.tv_sec = ms / 1000; \
|
||||||
diff.tv_usec = (ms % 1000) * 1000; \
|
diff.tv_usec = (int)((ms % 1000) * 1000); \
|
||||||
timersub(&now, &diff, &target); \
|
timersub(&now, &diff, &target); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user