From: Miloš Mulač Date: Tue, 12 Jun 2007 16:28:23 +0000 (+0000) Subject: null value of seed is transfered to server correctly now, no workarround needed X-Git-Tag: glite-lb-common_R_5_1_2_2~4 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=dab4c7231611c42ad8877f68038fa5ac2259ea84;p=jra1mw.git null value of seed is transfered to server correctly now, no workarround needed --- diff --git a/org.glite.lb.common/src/context.c b/org.glite.lb.common/src/context.c index 3614795..3bb6bc3 100644 --- a/org.glite.lb.common/src/context.c +++ b/org.glite.lb.common/src/context.c @@ -475,8 +475,7 @@ int edg_wll_GenerateSubjobIds( retjobs == NULL) return edg_wll_SetError(ctx, ENOMEM, NULL); - // XXX: nasty! add correct escaping of NULL - if ( !seed || !strcmp(seed, "(nil)") ) { + if ( !seed ) { intseed = strdup("edg_wll_GenerateSubjobIds()"); } else