mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4019
This commit is contained in:
parent
7f99504ab8
commit
31c4590fa5
|
@ -41,13 +41,12 @@ SCHED_CONFIG config;
|
||||||
|
|
||||||
int delete_host_file(int host_id, const char* file_name) {
|
int delete_host_file(int host_id, const char* file_name) {
|
||||||
DB_MSG_TO_HOST mth;
|
DB_MSG_TO_HOST mth;
|
||||||
char msg_text[400];
|
sprintf(mth.xml, "<delete_file_info>%s</delete_file_info>\n", file_name);
|
||||||
sprintf(msg_text, "<delete_file_info>%s</delete_file_info>\n", file_name);
|
sprintf(mth.variety, "delete_file");
|
||||||
int retval;
|
int retval;
|
||||||
mth.clear();
|
mth.clear();
|
||||||
mth.create_time = time(0);
|
mth.create_time = time(0);
|
||||||
mth.hostid = host_id;
|
mth.hostid = host_id;
|
||||||
strcpy(mth.variety, msg_text);
|
|
||||||
mth.handled = false;
|
mth.handled = false;
|
||||||
retval = mth.insert();
|
retval = mth.insert();
|
||||||
if (retval) {
|
if (retval) {
|
||||||
|
|
Loading…
Reference in New Issue