From: Miloš Mulač Date: Wed, 6 Jun 2007 15:16:24 +0000 (+0000) Subject: do not pass NULL for NS value - causing problems in ParseEvents X-Git-Tag: glite-lb-common_R_5_1_2_1~4 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=c8df0e591f7820945a668c18c4d406d9a2c74859;p=jra1mw.git do not pass NULL for NS value - causing problems in ParseEvents --- diff --git a/org.glite.lb.client/examples/job_reg.c b/org.glite.lb.client/examples/job_reg.c index f8dd497..72d0a2b 100644 --- a/org.glite.lb.client/examples/job_reg.c +++ b/org.glite.lb.client/examples/job_reg.c @@ -144,14 +144,14 @@ int main(int argc, char *argv[]) } if (lbproxy) { - if (edg_wll_RegisterSubjobsProxy(ctx, jobid, (const char **) jdls, NULL, subjobs)) { + if (edg_wll_RegisterSubjobsProxy(ctx, jobid, (const char **) jdls, "NNNSSSS", subjobs)) { char *et,*ed; edg_wll_Error(ctx,&et,&ed); fprintf(stderr,"edg_wll_RegisterSubjobsProxy: %s (%s)\n", et, ed); exit(1); } } else { - if (edg_wll_RegisterSubjobs(ctx, jobid, (const char **) jdls, NULL, subjobs)) { + if (edg_wll_RegisterSubjobs(ctx, jobid, (const char **) jdls, "NNNSSSS", subjobs)) { char *et,*ed; edg_wll_Error(ctx,&et,&ed); fprintf(stderr,"edg_wll_RegisterSubjobs: %s (%s)\n", et, ed);