From 0b66bb3880a52ad0d4c75d36a40f9f702685fd38 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sat, 3 Jul 2004 23:44:50 +0000 Subject: [PATCH] Client spamming server hotfix svn path=/trunk/boinc/; revision=3780 --- sched/transitioner.C | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sched/transitioner.C b/sched/transitioner.C index 22da037ded..6ec0f4f714 100644 --- a/sched/transitioner.C +++ b/sched/transitioner.C @@ -370,14 +370,14 @@ bool do_pass() { SCHED_MSG_LOG::DEBUG, "[WU#%d %s] Starting Transaction...\n", items[0].id, items[0].name - ); + ); retval = transitioner.start_transaction(); if (retval) { log_messages.printf( SCHED_MSG_LOG::CRITICAL, "[WU#%d %s] transitioner.start_transaction() == %d\n", items[0].id, items[0].name, retval - ); + ); } handle_wu(transitioner, items); @@ -386,19 +386,20 @@ bool do_pass() { SCHED_MSG_LOG::DEBUG, "[WU#%d %s] Committing Transaction...\n", items[0].id, items[0].name - ); + ); retval = transitioner.commit_transaction(); if (retval) { log_messages.printf( SCHED_MSG_LOG::CRITICAL, "[WU#%d %s] transitioner.commit_transaction() == %d\n", items[0].id, items[0].name, retval - ); + ); } else { log_messages.printf( SCHED_MSG_LOG::DEBUG, "[WU#%d %s] Committed Transaction Successfully...\n", items[0].id, items[0].name + ); } check_stop_daemons();