no message

svn path=/trunk/boinc/; revision=525
This commit is contained in:
Eric Heien 2002-10-24 16:54:31 +00:00
parent f15b50a7c5
commit e25efc24da
4 changed files with 8 additions and 6 deletions

View File

@ -48,7 +48,7 @@ class CLIENT_STATE;
class ACTIVE_TASK {
public:
#ifdef _WIN32
HANDLE pid_handle;
HANDLE pid_handle,thread_handle;
#endif
RESULT* result;
WORKUNIT* wup;

View File

@ -110,12 +110,12 @@ int PROJECT::parse_state(FILE* in) {
else if (parse_str(buf, "<user_name>", user_name, sizeof(user_name))) continue;
else if (parse_double(buf, "<user_total_credit>", user_total_credit)) continue;
else if (parse_double(buf, "<user_expavg_credit>", user_expavg_credit)) continue;
else if (parse_int(buf, "<user_create_time>", (int)user_create_time)) continue;
else if (parse_int(buf, "<user_create_time>", (int &)user_create_time)) continue;
else if (parse_int(buf, "<rpc_seqno>", rpc_seqno)) continue;
else if (parse_int(buf, "<hostid>", hostid)) continue;
else if (parse_double(buf, "<host_total_credit>", host_total_credit)) continue;
else if (parse_double(buf, "<host_expavg_credit>", host_expavg_credit)) continue;
else if (parse_int(buf, "<host_create_time>", (int)host_create_time)) continue;
else if (parse_int(buf, "<host_create_time>", (int &)host_create_time)) continue;
else if (parse_double(buf, "<exp_avg_cpu>", exp_avg_cpu)) continue;
else if (parse_int(buf, "<exp_avg_mod_time>", exp_avg_mod_time)) continue;
else if (match_tag(buf, "<code_sign_key>")) {

View File

@ -410,7 +410,7 @@ int SCHEDULER_REPLY::parse(FILE* in) {
continue;
} else if (parse_double(buf, "<user_expavg_credit>", user_expavg_credit)) {
continue;
} else if (parse_int(buf, "<user_create_time>", (int)user_create_time)) {
} else if (parse_int(buf, "<user_create_time>", (int &)user_create_time)) {
continue;
} else if (parse_int(buf, "<hostid>", hostid)) {
continue;
@ -418,7 +418,7 @@ int SCHEDULER_REPLY::parse(FILE* in) {
continue;
} else if (parse_double(buf, "<host_expavg_credit>", host_expavg_credit)) {
continue;
} else if (parse_int(buf, "<host_create_time>", (int)host_create_time)) {
} else if (parse_int(buf, "<host_create_time>", (int &)host_create_time)) {
continue;
} else if (parse_int(buf, "<request_delay>", request_delay)) {
continue;

View File

@ -94,7 +94,9 @@ int main() {
boinc_sleep(1);
}
nxs.remove(nxp);
if (nxp->file) fclose(nxp->file);
if (nxp->file) {
fclose(nxp->file);
}
return 0;
}