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
This commit is contained in:
gombasg 2006-03-23 12:12:38 +00:00 committed by Adam Visegradi
parent 8c5c4f938d
commit 277cea55b9
1 changed files with 2 additions and 0 deletions

View File

@ -140,6 +140,8 @@ DC_Result *_DC_createResult(const char *wu_name, const char *xml_doc_in)
return NULL; return NULL;
} }
result->wu->state = DC_WU_FINISHED;
memset(&rctx, 0, sizeof(rctx)); memset(&rctx, 0, sizeof(rctx));
rctx.result = result; rctx.result = result;