From: Jiří Filipovič Date: Mon, 7 Mar 2011 13:13:14 +0000 (+0000) Subject: show user's jobs when owner is not indexed X-Git-Tag: glite-px-proxyrenewal_R_1_3_14_1~5 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=6fc2f4be39ae8277b74cc358374f603df2794a53;p=jra1mw.git show user's jobs when owner is not indexed --- 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