From a91963b35960f85cc7c004aea0052661fe8e849e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Thu, 10 Nov 2005 13:55:44 +0000 Subject: [PATCH] better addressing --- org.glite.lb.server/src/lb_plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.glite.lb.server/src/lb_plugin.c b/org.glite.lb.server/src/lb_plugin.c index ceb92df..7af0239 100644 --- a/org.glite.lb.server/src/lb_plugin.c +++ b/org.glite.lb.server/src/lb_plugin.c @@ -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; -- 1.8.2.3