Write valid error messages.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 9 Aug 2005 16:34:39 +0000 (16:34 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 9 Aug 2005 16:34:39 +0000 (16:34 +0000)
org.glite.lb.client/examples/job_log.c

index 4d7a550..7757fec 100644 (file)
@@ -68,9 +68,10 @@ int main(int argc,char **argv)
 #ifdef USE_CALLBACKS
        edg_wll_RegisterTestQueryEvents(query_events_cb);
 #endif
-       
+
        if ( edg_wll_JobLog(ctx,job,&events) )
        {
+               edg_wll_Error(ctx,&errt,&errd);
                fprintf(stderr,"%s: %s (%s)\n",argv[0],errt,errd);
        }