From 8a5653d0b0dc382901f860efd3ebdf549bdc5a57 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Thu, 23 Oct 2008 13:37:18 +0000 Subject: [PATCH] do not send some other state fields without EDG_WLL_STAT_CLASSADS flag in notifications --- org.glite.lb.server/src/il_notification.c | 3 +++ org.glite.lb.server/src/jobstat.c | 1 + 2 files changed, 4 insertions(+) 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 -- 1.8.2.3