From 66b20e113816e91459c016f1b28d00c76d345f69 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 17 Apr 2012 23:23:22 +0000 Subject: [PATCH] - scheduler: handling of allow_multiple_clients flag from client was wrong. From Bernd. svn path=/trunk/boinc/; revision=25579 --- checkin_notes | 7 +++++++ sched/handle_request.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 5a24183157..7be0a7a205 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3340,3 +3340,10 @@ David 17 Apr 2012 sched/ target_batch.cpp + +David 17 Apr 2012 + - scheduler: handling of allow_multiple_clients flag from client + was wrong. From Bernd. + + sched/ + handle_request.cpp diff --git a/sched/handle_request.cpp b/sched/handle_request.cpp index 2658608504..91a640e8e5 100644 --- a/sched/handle_request.cpp +++ b/sched/handle_request.cpp @@ -409,7 +409,7 @@ make_new_host: // // NOTE: If the client was run with --allow_multiple_clients, skip this. // - if ((g_request->allow_multiple_clients==1) + if ((g_request->allow_multiple_clients != 1) && find_host_by_other(user, g_request->host, host) ) { log_messages.printf(MSG_NORMAL,