type - pass correct parameter to function
authorMiloš Mulač <mulac@civ.zcu.cz>
Fri, 29 Aug 2008 10:43:41 +0000 (10:43 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Fri, 29 Aug 2008 10:43:41 +0000 (10:43 +0000)
- add-on to v. 1.69 commit

org.glite.lb.server/src/jobstat.c

index 72928f7..c1bc6e1 100644 (file)
@@ -501,7 +501,7 @@ edg_wll_ErrorCode edg_wll_RestoreSubjobState(
        ec[1] = NULL;
 
        if (edg_wll_QueryEventsServer(ctx,1, (const edg_wll_QueryRec **)jc, 
-                               (const edg_wll_QueryRec **)jc, &events_p)) {
+                               (const edg_wll_QueryRec **)ec, &events_p)) {
                free(jc);
                free(ec);
                return edg_wll_Error(ctx, NULL, NULL);