From: Miloš Mulač Date: Thu, 23 Oct 2008 13:37:18 +0000 (+0000) Subject: do not send some other state fields without EDG_WLL_STAT_CLASSADS flag in notifications X-Git-Tag: test_tag~107 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=8a5653d0b0dc382901f860efd3ebdf549bdc5a57;p=jra1mw.git do not send some other state fields without EDG_WLL_STAT_CLASSADS flag in notifications --- diff --git a/org.glite.lb.server/src/il_notification.c b/org.glite.lb.server/src/il_notification.c index 1d3e002..3bec57a 100644 --- a/org.glite.lb.server/src/il_notification.c +++ b/org.glite.lb.server/src/il_notification.c @@ -165,6 +165,9 @@ edg_wll_NotifJobStatus(edg_wll_Context context, if (flags == 0) { stat.jdl = NULL; + stat.matched_jdl = NULL; + stat.condor_jdl = NULL; + stat.rsl = NULL; } if(edg_wll_JobStatusToXML(context, stat, &xml_data)) diff --git a/org.glite.lb.server/src/jobstat.c b/org.glite.lb.server/src/jobstat.c index 0af26a2..43a5c81 100644 --- a/org.glite.lb.server/src/jobstat.c +++ b/org.glite.lb.server/src/jobstat.c @@ -151,6 +151,7 @@ int edg_wll_JobStatusServer( mov(stat->matched_jdl, null); mov(stat->condor_jdl, null); mov(stat->rsl, null); + // !! if adding something here, add it also to edg_wll_NotifJobStatus() !! } #if DAG_ENABLE