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

Fixes assertion failure.
This commit is contained in:
Max Kellermann 2014-05-24 14:36:25 +02:00
parent be00737ced
commit 6c4438d8a9
1 changed files with 2 additions and 1 deletions

View File

@ -484,7 +484,8 @@ CurlInputStream::RequestDone(CURLcode result, long status)
status);
}
SetReady();
if (!IsReady())
SetReady();
}
static void