Commit 69effac5 authored by Artem Prilutskiy's avatar Artem Prilutskiy


parent 48aad66d
......@@ -300,7 +300,7 @@ int WaitForRewindSessionEnd(struct RewindContext* context, struct RewindSessionP
struct timeval threshold;
gettimeofday(&now, NULL);
threshold.tv_sec = now.tv_sec + CONNECT_TIMEOUT;
threshold.tv_sec = now.tv_sec + interval;
threshold.tv_usec = now.tv_usec;
while (timercmp(&now, &threshold, <))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment