From 4066ff8ab9b17f9564f92fe7d3077bf2d26b8198 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 26 Nov 2010 11:01:09 +0000 Subject: [PATCH] client: fix crash bug svn path=/trunk/boinc/; revision=22749 --- checkin_notes | 6 ++++++ client/client_types.cpp | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index c2b5203bc8..bd59530d17 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/client_types.cpp b/client/client_types.cpp index 2a3431d4d3..45f2310052 100644 --- a/client/client_types.cpp +++ b/client/client_types.cpp @@ -288,9 +288,10 @@ int PROJECT::write_state(MIOFILE& out, bool gui_rpc) { " %d\n" " %f\n" " %f\n" +#ifdef USE_REC " %f\n" " %f\n" -#ifndef USE_REC +#else " %f\n" " %f\n" #endif