mirror of https://github.com/BOINC/boinc.git
parent
e029476a87
commit
648f9c70dc
|
@ -651,7 +651,7 @@ bool ACTIVE_TASK_SET::poll_time() {
|
|||
// Gets the next available free slot, or returns -1 if all slots are full
|
||||
//
|
||||
int ACTIVE_TASK_SET::get_free_slot(int total_slots) {
|
||||
int start_slot,i;
|
||||
int i;
|
||||
char *slot_status;
|
||||
|
||||
if (active_tasks.size() >= total_slots)
|
||||
|
|
|
@ -797,6 +797,8 @@ bool CLIENT_STATE::time_to_exit() {
|
|||
}
|
||||
|
||||
void CLIENT_STATE::set_client_state_dirty(char* source) {
|
||||
printf("set dirty: %s\n", source);
|
||||
if (log_flags.state_debug) {
|
||||
printf("set dirty: %s\n", source);
|
||||
}
|
||||
client_state_dirty = true;
|
||||
}
|
||||
|
|
|
@ -432,11 +432,11 @@ bool HTTP_OP_SET::poll() {
|
|||
printf("finished sending request body\n");
|
||||
}
|
||||
htp->http_op_state = HTTP_STATE_REPLY_HEADER;
|
||||
if (htp->file) {
|
||||
if (htp->file) {
|
||||
fclose(htp->file);
|
||||
} else {
|
||||
printf("HTTP_OP_SET::poll(): unexpected NULL file\n");
|
||||
}
|
||||
} else {
|
||||
printf("HTTP_OP_SET::poll(): unexpected NULL file\n");
|
||||
}
|
||||
htp->file = 0;
|
||||
htp->do_file_io = false;
|
||||
htp->want_upload = false;
|
||||
|
|
Loading…
Reference in New Issue