From: Jiří Filipovič Date: Tue, 19 Oct 2010 13:36:14 +0000 (+0000) Subject: do not return error in ALL statistics when statistics for some destinations are void X-Git-Tag: glite-lb-server_R_2_1_12_1~1 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=9a6122e754010fe7e3d25c98041bbbc46899bafb;p=jra1mw.git do not return error in ALL statistics when statistics for some destinations are void --- diff --git a/org.glite.lb.server/src/stats.c b/org.glite.lb.server/src/stats.c index 735b9a7..ebe644a 100644 --- a/org.glite.lb.server/src/stats.c +++ b/org.glite.lb.server/src/stats.c @@ -787,6 +787,8 @@ int edg_wll_StateRateServer( free(*groups); *groups = NULL; goto cleanup; } + else + edg_wll_ResetError(ctx); // reset error comming from stateDurationFromToRequest, some of them has worked } cleanup: @@ -1031,6 +1033,8 @@ int edg_wll_StateDurationFromToServer( free(*groups); *groups = NULL; goto cleanup; } + else + edg_wll_ResetError(ctx); // reset error comming from stateDurationFromToRequest, some of them has worked } cleanup: