4
Fork 0
This commit is contained in:
Artem Prilutskiy 2017-06-07 16:41:59 +03:00
parent 48aad66df0
commit 69effac5b0

View file

@ -300,7 +300,7 @@ int WaitForRewindSessionEnd(struct RewindContext* context, struct RewindSessionP
struct timeval threshold; struct timeval threshold;
gettimeofday(&now, NULL); gettimeofday(&now, NULL);
threshold.tv_sec = now.tv_sec + CONNECT_TIMEOUT; threshold.tv_sec = now.tv_sec + interval;
threshold.tv_usec = now.tv_usec; threshold.tv_usec = now.tv_usec;
while (timercmp(&now, &threshold, <)) while (timercmp(&now, &threshold, <))