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:
e9fddae
)
display also jobid when notif arrives
author
Aleš Křenek
<ljocha@ics.muni.cz>
Wed, 12 Dec 2007 17:40:06 +0000
(17:40 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Wed, 12 Dec 2007 17:40:06 +0000
(17:40 +0000)
org.glite.lb.client/examples/notify.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.client/examples/notify.c
b/org.glite.lb.client/examples/notify.c
index
7f9b367
..
1773919
100644
(file)
--- a/
org.glite.lb.client/examples/notify.c
+++ b/
org.glite.lb.client/examples/notify.c
@@
-277,9
+277,14
@@
err:
printf("\nnotification ID: %s\n", edg_wll_NotifIdUnparse(recv_nid));
if (stat.state != EDG_WLL_JOB_UNDEF) {
- printf("Job status is : %s\n",
+ char *jobid_s;
+
+ jobid_s = edg_wlc_JobIdUnparse(stat.jobId);
+ printf("Jobid:\t%s\nStatus:\t%s\n",
+ jobid_s,
edg_wll_StatToString(stat.state));
edg_wll_FreeStatus(&stat);
+ free(jobid_s);
stat.state = EDG_WLL_JOB_UNDEF;
}