From: Jan Pospíšil Date: Mon, 30 Apr 2007 19:00:44 +0000 (+0000) Subject: bug#20917: do not propagate IL errors X-Git-Tag: glite-lb-common_R_5_0_3_1~8 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=496c24117d3c111c56dc8f868526acfa9fdbfca7;p=jra1mw.git bug#20917: do not propagate IL errors --- diff --git a/org.glite.lb.server/src/il_lbproxy.c b/org.glite.lb.server/src/il_lbproxy.c index fd85f92..8624da1 100644 --- a/org.glite.lb.server/src/il_lbproxy.c +++ b/org.glite.lb.server/src/il_lbproxy.c @@ -61,7 +61,12 @@ out: if ( event_file ) free(event_file); if ( !err ) return 0; - edg_wll_UpdateError(ctx, 0, "edg_wll_EventSendProxy()"); - if ( err < 0 ) return 0; - return edg_wll_Error(ctx, NULL, NULL); + if ( err < 0 ) { + /* do not propagate IL errors */ + edg_wll_ResetError(ctx); + return 0; + } else { + edg_wll_UpdateError(ctx, 0, "edg_wll_EventSendProxy()"); + return edg_wll_Error(ctx, NULL, NULL); + } }