mirror of https://github.com/BOINC/boinc.git
Merge branch 'master' of https://github.com/BOINC/boinc
This commit is contained in:
commit
093e00a07c
|
@ -553,6 +553,14 @@ static int insert_wu_tags(WORKUNIT& wu, APP& app) {
|
||||||
wu.name,
|
wu.name,
|
||||||
app.name
|
app.name
|
||||||
);
|
);
|
||||||
|
if (!empty(wu.keywords)) {
|
||||||
|
char buf2[1024];
|
||||||
|
sprintf(buf2,
|
||||||
|
" <job_keywords>%s</job_keywords>\n",
|
||||||
|
wu.keywords
|
||||||
|
);
|
||||||
|
strcat(buf, buf2);
|
||||||
|
}
|
||||||
return insert_after(wu.xml_doc, "<workunit>\n", buf);
|
return insert_after(wu.xml_doc, "<workunit>\n", buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue