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

View File

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