mirror of https://github.com/BOINC/boinc.git
- boinccmd: compile fix
svn path=/trunk/boinc/; revision=19919
This commit is contained in:
parent
75a27968d8
commit
22b6e9eb93
|
@ -10104,3 +10104,9 @@ Charlie 15 Dec 2009
|
|||
clientscr/
|
||||
res/
|
||||
BOINCSaver.nib
|
||||
|
||||
David 15 Dec 2009
|
||||
- boinccmd: compile fix
|
||||
|
||||
client/
|
||||
boinc_cmd.cpp
|
||||
|
|
|
@ -508,8 +508,14 @@ int main(int argc, char** argv) {
|
|||
while (i < argc) {
|
||||
PROJECT proj;
|
||||
proj.master_url = string(next_arg(argc, argv, i));
|
||||
proj.short_term_debt = atoi(next_arg(argc, argv, i));
|
||||
proj.cpu_long_term_debt = atoi(next_arg(argc, argv, i));
|
||||
int std = atoi(next_arg(argc, argv, i));
|
||||
proj.cpu_short_term_debt = std;
|
||||
proj.cuda_short_term_debt = std;
|
||||
proj.ati_short_term_debt = std;
|
||||
int ltd = atoi(next_arg(argc, argv, i));
|
||||
proj.cpu_long_term_debt = ltd;
|
||||
proj.cuda_debt = ltd;
|
||||
proj.ati_debt = ltd;
|
||||
projects.push_back(proj);
|
||||
}
|
||||
retval = rpc.set_debts(projects);
|
||||
|
|
Loading…
Reference in New Issue