- boinccmd: compile fix

svn path=/trunk/boinc/; revision=19919
This commit is contained in:
David Anderson 2009-12-16 04:55:43 +00:00
parent 75a27968d8
commit 22b6e9eb93
2 changed files with 14 additions and 2 deletions

View File

@ -10104,3 +10104,9 @@ Charlie 15 Dec 2009
clientscr/
res/
BOINCSaver.nib
David 15 Dec 2009
- boinccmd: compile fix
client/
boinc_cmd.cpp

View File

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