do not return error in ALL statistics when statistics for some destinations are void
authorJiří Filipovič <fila@ics.muni.cz>
Tue, 19 Oct 2010 13:36:14 +0000 (13:36 +0000)
committerJiří Filipovič <fila@ics.muni.cz>
Tue, 19 Oct 2010 13:36:14 +0000 (13:36 +0000)
org.glite.lb.server/src/stats.c

index 735b9a7..ebe644a 100644 (file)
@@ -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: