do not send some other state fields without EDG_WLL_STAT_CLASSADS flag in notifications
authorMiloš Mulač <mulac@civ.zcu.cz>
Thu, 23 Oct 2008 13:37:18 +0000 (13:37 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Thu, 23 Oct 2008 13:37:18 +0000 (13:37 +0000)
org.glite.lb.server/src/il_notification.c
org.glite.lb.server/src/jobstat.c

index 1d3e002..3bec57a 100644 (file)
@@ -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)) 
index 0af26a2..43a5c81 100644 (file)
@@ -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