diff --git a/dcapi/boinc/result.c b/dcapi/boinc/result.c index cb05aebfd9..19734df499 100644 --- a/dcapi/boinc/result.c +++ b/dcapi/boinc/result.c @@ -140,6 +140,8 @@ DC_Result *_DC_createResult(const char *wu_name, const char *xml_doc_in) return NULL; } + result->wu->state = DC_WU_FINISHED; + memset(&rctx, 0, sizeof(rctx)); rctx.result = result;