*** empty log message ***

svn path=/trunk/boinc/; revision=4019
This commit is contained in:
David Anderson 2004-08-06 22:30:06 +00:00
parent 7f99504ab8
commit 31c4590fa5
1 changed files with 2 additions and 3 deletions

View File

@ -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) {