do not pass NULL for NS value - causing problems in ParseEvents
authorMiloš Mulač <mulac@civ.zcu.cz>
Wed, 6 Jun 2007 15:16:24 +0000 (15:16 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Wed, 6 Jun 2007 15:16:24 +0000 (15:16 +0000)
org.glite.lb.client/examples/job_reg.c

index f8dd497..72d0a2b 100644 (file)
@@ -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);