From: Miloš Mulač Date: Thu, 30 Jun 2005 13:52:57 +0000 (+0000) Subject: convert soap stateCode to edg_wll stateCode X-Git-Tag: Root_glite-deployment-lb_branch_2_0_0~8 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=238a251ce3ad4c89e44eb886cce5491593616ba6;p=jra1mw.git convert soap stateCode to edg_wll stateCode --- diff --git a/org.glite.lb.server/examples/ws_query_ex.c b/org.glite.lb.server/examples/ws_query_ex.c index 7208cc3..aae1624 100644 --- a/org.glite.lb.server/examples/ws_query_ex.c +++ b/org.glite.lb.server/examples/ws_query_ex.c @@ -94,7 +94,11 @@ int main(int argc,char** argv) printf("Query succesfull...\n"); printf("%-65s%s\n\n", "jobid", "state"); for ( i = 0; i < out.__sizejobs; i++ ) { - char *s = edg_wll_StatToString(out.states[i]->state); + edg_wll_JobStatCode statCode; + + + edg_wll_SoapToJobStatCode(out.states[i]->state, &statCode); + char *s = edg_wll_StatToString(statCode); printf("%-65s%s\n", out.jobs[i], s); free(s); }