compile fixes

svn path=/trunk/boinc/; revision=9278
This commit is contained in:
David Anderson 2006-01-20 20:58:33 +00:00
parent b43a941ba9
commit e6229b2ab7
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -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;
}