From 277cea55b989a0fc38be6713776535ba3ad0c3e4 Mon Sep 17 00:00:00 2001 From: gombasg Date: Thu, 23 Mar 2006 12:12:38 +0000 Subject: [PATCH] Mark the WU as finished when the canonical result has arrived git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@388 a7169a2c-3604-0410-bc95-c702d8d87f7a --- dcapi/boinc/result.c | 2 ++ 1 file changed, 2 insertions(+) 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;