From e4253e4b778f15b40064c4ac89e0b19c726662ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Mon, 14 Sep 2009 13:27:32 +0000 Subject: [PATCH] creaming cosmetics --- org.glite.lb.client/examples/job_status.c | 2 +- org.glite.lb.state-machine/src/process_event_cream.c | 4 +++- org.glite.lb.types/events.T | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/org.glite.lb.client/examples/job_status.c b/org.glite.lb.client/examples/job_status.c index 65ff093..b479af4 100644 --- a/org.glite.lb.client/examples/job_status.c +++ b/org.glite.lb.client/examples/job_status.c @@ -332,7 +332,7 @@ static void printstat(edg_wll_JobStat stat, int level) printf("%scream_exit_code : %d\n", ind, stat.cream_exit_code); printf("%scream_cancelling : %d\n", ind, stat.cream_cancelling); printf("%scream_cpu_time : %d\n", ind, stat.cream_cpu_time); - printf("%scream_jw_status : %d\n", ind, stat.cream_jw_status); + printf("%scream_jw_status : %s\n", ind, edg_wll_JWStatToString(stat.cream_jw_status)); free(cream_stat_name); } diff --git a/org.glite.lb.state-machine/src/process_event_cream.c b/org.glite.lb.state-machine/src/process_event_cream.c index b7d7274..34d3761 100644 --- a/org.glite.lb.state-machine/src/process_event_cream.c +++ b/org.glite.lb.state-machine/src/process_event_cream.c @@ -94,9 +94,11 @@ int processEvent_Cream(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict, break; case EDG_WLL_EVENT_CREAMCALL: if (USABLE(res)) { - if (e->CREAMCall.callee == EDG_WLL_SOURCE_LRMS && e->any.source == EDG_WLL_SOURCE_LRMS) + // BLAH -> LRMS + if (e->any.source == EDG_WLL_SOURCE_BLAH && e->CREAMCall.callee == EDG_WLL_SOURCE_LRMS) { js->pub.state = EDG_WLL_JOB_SCHEDULED; js->pub.cream_state = EDG_WLL_STAT_IDLE; + } } if (USABLE_DATA(res)) { diff --git a/org.glite.lb.types/events.T b/org.glite.lb.types/events.T index 3673aac..6bd9cfc 100644 --- a/org.glite.lb.types/events.T +++ b/org.glite.lb.types/events.T @@ -367,7 +367,7 @@ _code_ FAILED @type CREAMCall Processing command and calling BLAH or LRMS - logsrc callee + logsrc callee Called component _ref_ CREAMStore:command string cmdid Id of the command, as stored previously _optional_ -- 1.8.2.3