Fix bug #5471 (wrong variant in event union type accessed on resubmission).
authorZdeněk Salvet <salvet@ics.muni.cz>
Thu, 9 Dec 2004 16:51:44 +0000 (16:51 +0000)
committerZdeněk Salvet <salvet@ics.muni.cz>
Thu, 9 Dec 2004 16:51:44 +0000 (16:51 +0000)
org.glite.lb.server/src/jobstat.c

index 6d2e64f..a5dbc56 100644 (file)
@@ -595,7 +595,7 @@ static int processEvent(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict
                                rep(js->pub.reason, e->enQueued.reason);
 
                                free(js->pub.location);
-                               if (e->transfer.result == EDG_WLL_ENQUEUED_OK) {
+                               if (e->enQueued.result == EDG_WLL_ENQUEUED_OK) {
                                        js->pub.location = location_string(
                                                e->enQueued.queue,
                                                e->enQueued.host,