client: fix crash bug

svn path=/trunk/boinc/; revision=22749
This commit is contained in:
Charlie Fenton 2010-11-26 11:01:09 +00:00
parent bbaff5d2da
commit 4066ff8ab9
2 changed files with 8 additions and 1 deletions

View File

@ -8431,3 +8431,9 @@ David 24 Nov 2010
transition_all.php
user/
forum_search_action.php
Charlie 26 Nov 2010
- client: fix crash bug.
client/
client_types.cpp

View File

@ -288,9 +288,10 @@ int PROJECT::write_state(MIOFILE& out, bool gui_rpc) {
" <master_fetch_failures>%d</master_fetch_failures>\n"
" <min_rpc_time>%f</min_rpc_time>\n"
" <next_rpc_time>%f</next_rpc_time>\n"
#ifdef USE_REC
" <rec>%f</rec>\n"
" <rec_time>%f</rec_time>\n"
#ifndef USE_REC
#else
" <short_term_debt>%f</short_term_debt>\n"
" <long_term_debt>%f</long_term_debt>\n"
#endif