From: Aleš Křenek Date: Mon, 28 Nov 2005 10:43:16 +0000 (+0000) Subject: make sure the subjob seed is the same for proxy and server, even if not X-Git-Tag: glite-lb-client_R_2_1_1~3 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=3309c3e282eb0f0be1fa819701eed474eae95c96;p=jra1mw.git make sure the subjob seed is the same for proxy and server, even if not specified explicitely --- diff --git a/org.glite.lb.client/project/version.properties b/org.glite.lb.client/project/version.properties index 355a1dd..3a30274 100644 --- a/org.glite.lb.client/project/version.properties +++ b/org.glite.lb.client/project/version.properties @@ -1,4 +1,4 @@ #Fri Sep 02 14:17:41 CEST 2005 -module.version=2.1.0 +module.version=2.1.1 module.build=2 module.age=1 diff --git a/org.glite.lb.client/src/producer.c b/org.glite.lb.client/src/producer.c index 49b4549..a3d3c97 100644 --- a/org.glite.lb.client/src/producer.c +++ b/org.glite.lb.client/src/producer.c @@ -845,14 +845,15 @@ int edg_wll_RegisterJobProxy( const char * seed, edg_wlc_JobId ** subjobs) { +#define MY_SEED "edg_wll_RegisterJobProxy()" /* first register with bkserver */ - int ret = edg_wll_RegisterJob(context,job,type,jdl,ns,num_subjobs,seed,subjobs); + int ret = edg_wll_RegisterJob(context,job,type,jdl,ns,num_subjobs,seed ? seed : MY_SEED,subjobs); if (ret) { edg_wll_UpdateError(context,0,"edg_wll_RegisterJobProxy(): unable to register with bkserver"); return edg_wll_Error(context,NULL,NULL); } /* and then with L&B Proxy */ - return edg_wll_RegisterJobMaster(context,LOGFLAG_PROXY,job,type,jdl,ns,NULL,num_subjobs,seed,subjobs); + return edg_wll_RegisterJobMaster(context,LOGFLAG_PROXY,job,type,jdl,ns,NULL,num_subjobs,seed ? seed : MY_SEED,subjobs); } int edg_wll_RegisterSubjob(