release JDL to clients authorized to access RTM information
authorDaniel Kouřil <kouril@ics.muni.cz>
Fri, 19 Mar 2010 09:30:18 +0000 (09:30 +0000)
committerDaniel Kouřil <kouril@ics.muni.cz>
Fri, 19 Mar 2010 09:30:18 +0000 (09:30 +0000)
org.glite.lb.server/src/authz_policy.c

index cfc09e5..485a59b 100644 (file)
@@ -122,6 +122,8 @@ blacken_fields(edg_wll_JobStat *stat, int flags)
     if (flags & STATUS_FOR_RTM) {
        new_stat.state = stat->state;
        edg_wlc_JobIdDup(stat->jobId, &new_stat.jobId);
+       if (stat->jdl)
+           new_stat.jdl = strdup(stat->jdl);
        if (stat->destination)
            new_stat.destination = strdup(stat->destination);
        if (stat->network_server)