git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ad4b15
)
convert soap stateCode to edg_wll stateCode
author
Miloš Mulač
<mulac@civ.zcu.cz>
Thu, 30 Jun 2005 13:52:57 +0000
(13:52 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Thu, 30 Jun 2005 13:52:57 +0000
(13:52 +0000)
org.glite.lb.server/examples/ws_query_ex.c
patch
|
blob
|
blame
|
history
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
(file)
--- 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);
}