mirror of https://github.com/BOINC/boinc.git
parent
b43a941ba9
commit
e6229b2ab7
|
@ -303,7 +303,7 @@ done:
|
|||
bool ACTIVE_TASK::finish_file_present() {
|
||||
char path[256];
|
||||
sprintf(path, "%s%s%s", slot_dir, PATH_SEPARATOR, BOINC_FINISH_CALLED_FILE);
|
||||
return boinc_file_exists(path);
|
||||
return (boinc_file_exists(path) != 0);
|
||||
}
|
||||
|
||||
void ACTIVE_TASK_SET::send_trickle_downs() {
|
||||
|
|
|
@ -232,7 +232,6 @@ void NET_XFER_SET::got_select(FDSET_GROUP&, double timeout) {
|
|||
NET_XFER* nxf = NULL;
|
||||
bool time_passed = false;
|
||||
CURLMsg *pcurlMsg = NULL;
|
||||
char buf[256];
|
||||
|
||||
SCOPE_MSG_LOG scope_messages(log_messages, CLIENT_MSG_LOG::DEBUG_NET_XFER);
|
||||
|
||||
|
@ -335,7 +334,7 @@ void NET_XFER_SET::got_select(FDSET_GROUP&, double timeout) {
|
|||
nxf->http_op_retval = nxf->response;
|
||||
}
|
||||
} else {
|
||||
msg_printf(0, MSG_ERROR, "Network error: %s", nxf->strCurlResult);
|
||||
msg_printf(0, MSG_ERROR, "HTTP error: %s", nxf->strCurlResult);
|
||||
nxf->http_op_retval = ERR_HTTP_ERROR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue