From: Aleš Křenek Date: Wed, 10 Aug 2005 14:52:50 +0000 (+0000) Subject: Fix propagation of error from GSI library X-Git-Tag: glite-lb-client_R_2_0_1~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f3681cb7e656a67f3c2f9b1191bdcb3de52914d1;p=jra1mw.git Fix propagation of error from GSI library --- diff --git a/org.glite.lb.client/src/producer.c b/org.glite.lb.client/src/producer.c index 27c71fd..bd6905c 100644 --- a/org.glite.lb.client/src/producer.c +++ b/org.glite.lb.client/src/producer.c @@ -127,7 +127,7 @@ static int edg_wll_DoLogEvent( if ((answer = edg_wll_gss_connect(cred, context->p_destination, context->p_dest_port, &context->p_tmp_timeout, &con, &gss_stat)) < 0) { - edg_wll_log_proto_handle_gss_failures(context,answer,&gss_stat,"edg_wll_gss_connect()"); + answer = edg_wll_log_proto_handle_gss_failures(context,answer,&gss_stat,"edg_wll_gss_connect()"); goto edg_wll_DoLogEvent_end; } @@ -274,7 +274,7 @@ static int edg_wll_DoLogEventDirect( #endif if ((answer = edg_wll_gss_connect(cred,host,port, &context->p_tmp_timeout, &con, &gss_stat)) < 0) { - edg_wll_log_proto_handle_gss_failures(context,answer,&gss_stat,"edg_wll_gss_connect()"); + answer = edg_wll_log_proto_handle_gss_failures(context,answer,&gss_stat,"edg_wll_gss_connect()"); goto edg_wll_DoLogEventDirect_end; }