From 6fc2f4be39ae8277b74cc358374f603df2794a53 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ji=C5=99=C3=AD=20Filipovi=C4=8D?= Date: Mon, 7 Mar 2011 13:13:14 +0000 Subject: [PATCH] show user's jobs when owner is not indexed --- org.glite.lb.server/src/lb_html.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/org.glite.lb.server/src/lb_html.c b/org.glite.lb.server/src/lb_html.c index 42de4b7..c48e14d 100644 --- a/org.glite.lb.server/src/lb_html.c +++ b/org.glite.lb.server/src/lb_html.c @@ -60,7 +60,13 @@ int edg_wll_UserInfoToHTML(edg_wll_Context ctx UNUSED_VAR, edg_wlc_JobId *jobsOu while (jobsOut && jobsOut[i]) { char *chid = edg_wlc_JobIdUnparse(jobsOut[i]); - if ((statsOut[i].jobtype != EDG_WLL_STAT_FILE_TRANSFER_COLLECTION + if (! statsOut){ + asprintf(&pomA,"%s\t\t
  • %s
  • \r\n", + pomB, chid,chid); + free(pomB); + pomB = pomA; + } + else if ((statsOut[i].jobtype != EDG_WLL_STAT_FILE_TRANSFER_COLLECTION && statsOut[i].jobtype != EDG_WLL_STAT_FILE_TRANSFER && ! statsOut[i].parent_job ) || ((statsOut[i].jobtype == EDG_WLL_STAT_FILE_TRANSFER_COLLECTION -- 1.8.2.3