From: Aleš Křenek Date: Thu, 1 Dec 2005 15:49:48 +0000 (+0000) Subject: initialise DAG node seqcode to a reasonable value X-Git-Tag: glite-lb-server_R_1_3_2~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=27178b5eeb6947fb90d84db40fdd31068738a33f;p=jra1mw.git initialise DAG node seqcode to a reasonable value --- diff --git a/org.glite.lb.server/src/store.c.T b/org.glite.lb.server/src/store.c.T index 3754cb2..1130c93 100644 --- a/org.glite.lb.server/src/store.c.T +++ b/org.glite.lb.server/src/store.c.T @@ -492,9 +492,11 @@ static int register_subjobs(edg_wll_Context ctx,const edg_wll_RegJobEvent *e) e2.any.host = strdup(ctx->srvName); e2.any.level = e->level; e2.any.priority = e->priority; - e2.any.seqcode = NULL; /* XXX: I'm not sure :-( */ + e2.any.seqcode = strdup(EDG_WLL_SEQ_NULL); e2.any.user = strdup(e->user); e2.any.source = e->source; + e2.any.src_instance = strdup(ctx->isProxy ? + "L&B proxy" : "L&B server"); e2.regJob.ns = strdup(e->ns); edg_wlc_JobIdDup(e->jobId,&e2.regJob.parent); e2.regJob.jobtype = EDG_WLL_REGJOB_SIMPLE;