From 496c24117d3c111c56dc8f868526acfa9fdbfca7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Posp=C3=AD=C5=A1il?= Date: Mon, 30 Apr 2007 19:00:44 +0000 Subject: [PATCH] bug#20917: do not propagate IL errors --- org.glite.lb.server/src/il_lbproxy.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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); + } } -- 1.8.2.3