Commit 6c4438d8 authored by Max Kellermann's avatar Max Kellermann

input/curl: call SetReady() only if not yet ready

Fixes assertion failure.
parent be00737c
......@@ -484,7 +484,8 @@ CurlInputStream::RequestDone(CURLcode result, long status)
status);
}
SetReady();
if (!IsReady())
SetReady();
}
static void
......
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