diff --git a/client/client_state.h b/client/client_state.h index 2e8bc1e0e5..a930571da8 100644 --- a/client/client_state.h +++ b/client/client_state.h @@ -323,8 +323,8 @@ public: int calc_proj_size(PROJECT*); int calc_all_proj_size(); int compute_share_disk_size(PROJECT*); - int total_potentially_offender(PROJECT*, double &); - int total_potentially_self(PROJECT*, double &); + int total_potential_offender(PROJECT*, double &); + int total_potential_self(PROJECT*, double &); double select_delete(PROJECT*, double, int); double delete_results(PROJECT*, double); double compute_resource_share(PROJECT*); diff --git a/client/cs_scheduler.C b/client/cs_scheduler.C index fab7fee4e8..ae57b574fc 100644 --- a/client/cs_scheduler.C +++ b/client/cs_scheduler.C @@ -206,10 +206,10 @@ int CLIENT_STATE::make_scheduler_request(PROJECT* p, double work_req) { if (!anything_free(free)){ fprintf(f, " %f\n", free); } - if (!total_potentially_offender(p, possible)) { + if (!total_potential_offender(p, possible)) { fprintf(f, " %f\n", possible); } - if (!total_potentially_self(p, possible)) { + if (!total_potential_self(p, possible)) { fprintf(f, " %f\n", possible); } if (strlen(p->code_sign_key)) {