aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/input/plugins/CurlInputPlugin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx
index 337ffc833..b48512ccb 100644
--- a/src/input/plugins/CurlInputPlugin.cxx
+++ b/src/input/plugins/CurlInputPlugin.cxx
@@ -484,7 +484,8 @@ CurlInputStream::RequestDone(CURLcode result, long status)
status);
}
- SetReady();
+ if (!IsReady())
+ SetReady();
}
static void