From e3fe28eab2228c4ae46275b14f792d5b61f094e6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Wed, 12 Dec 2007 17:40:06 +0000 Subject: [PATCH] display also jobid when notif arrives --- org.glite.lb.client/examples/notify.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/org.glite.lb.client/examples/notify.c b/org.glite.lb.client/examples/notify.c index 7f9b367..1773919 100644 --- 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; } -- 1.8.2.3