From 0a7edfba753178d0f4f27587a40081e33be7b790 Mon Sep 17 00:00:00 2001 From: Lana Alber Date: Tue, 5 Oct 2004 00:06:22 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4291 --- client/client_state.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client_state.C b/client/client_state.C index 319887ec7d..8d5fb39eb1 100644 --- a/client/client_state.C +++ b/client/client_state.C @@ -489,8 +489,7 @@ RESULT* CLIENT_STATE::lookup_result(PROJECT* p, const char* name) { } WORKUNIT* CLIENT_STATE::lookup_workunit(PROJECT* p, const char* name) { -print_summary(); - for (unsigned int i=0; iproject == p && !strcmp(name, wup->name)) return wup; } @@ -667,6 +666,7 @@ int CLIENT_STATE::link_result(PROJECT* p, RESULT* rp) { void CLIENT_STATE::print_summary() { unsigned int i; int t; + if (!log_flags.state_debug) return; SCOPE_MSG_LOG scope_messages(log_messages, CLIENT_MSG_LOG::DEBUG_STATE); scope_messages.printf("CLIENT_STATE::print_summary(): Client state summary:\n");