From 22b6e9eb935a4615c2f92c96b52c264dae1e19fc Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 16 Dec 2009 04:55:43 +0000 Subject: [PATCH] - boinccmd: compile fix svn path=/trunk/boinc/; revision=19919 --- checkin_notes | 6 ++++++ client/boinc_cmd.cpp | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/checkin_notes b/checkin_notes index 6dd50a55b1..b3bcfc195e 100644 --- a/checkin_notes +++ b/checkin_notes @@ -10104,3 +10104,9 @@ Charlie 15 Dec 2009 clientscr/ res/ BOINCSaver.nib + +David 15 Dec 2009 + - boinccmd: compile fix + + client/ + boinc_cmd.cpp diff --git a/client/boinc_cmd.cpp b/client/boinc_cmd.cpp index 5ab01ed25d..4cc31b1fcf 100644 --- a/client/boinc_cmd.cpp +++ b/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);