better addressing
authorAleš Křenek <ljocha@ics.muni.cz>
Thu, 10 Nov 2005 13:55:44 +0000 (13:55 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Thu, 10 Nov 2005 13:55:44 +0000 (13:55 +0000)
org.glite.lb.server/src/lb_plugin.c

index ceb92df..7af0239 100644 (file)
@@ -430,10 +430,10 @@ static int lb_status(edg_wll_Event **events, edg_wll_JobStat *status) {
                i++;
        }
 
-       memcpy(status, &js->pub, sizeof(edg_wll_JobStat));
+       memcpy(status, &(js->pub), sizeof(edg_wll_JobStat));
 
        // XXX: awful, hopefully working
-       memset(&js->pub, 0, sizeof(edg_wll_JobStat));
+       memset(&(js->pub), 0, sizeof(edg_wll_JobStat));
        destroy_intJobStat(js);
 
        return 0;