From f0bd46e2c113679ddb1cad73487051b8db0b3501 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 10 Jun 2008 18:12:29 +0000 Subject: [PATCH] - web: change order of includes svn path=/trunk/boinc/; revision=15381 --- checkin_notes | 8 ++++++++ html/inc/util.inc | 2 +- sched/sched_shmem.C | 15 ++++----------- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/checkin_notes b/checkin_notes index 5ef49623db..d7afd934ae 100644 --- a/checkin_notes +++ b/checkin_notes @@ -4759,3 +4759,11 @@ Rom 9 June 2008 lib/ diagnostics.C diagnostics_win.C + +David 10 June 2008 + - web: change order of includes + + html/inc/ + util.inc + sched/ + sched_shmem.C diff --git a/html/inc/util.inc b/html/inc/util.inc index 6451f0f1c9..0728531317 100644 --- a/html/inc/util.inc +++ b/html/inc/util.inc @@ -1,5 +1,6 @@ appid == appid && avp->platformid == platformid) { return avp; @@ -206,10 +203,8 @@ APP_VERSION* SCHED_SHMEM::lookup_app_version( // of servers try to get a single work item) // bool SCHED_SHMEM::no_work(int pid) { - int i; - if (!ready) return true; - for (i=0; i