From 4ed0ac9cd6cbf72be6c4153b32d7f18cc4b4eea7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ji=C5=99=C3=AD=20Filipovi=C4=8D?= Date: Tue, 22 Jun 2010 09:14:13 +0000 Subject: [PATCH] - backward compatible edg_wll_StatsRequestToXML - fixed passing of minor --- org.glite.lb.client/interface/statistics.h | 2 +- org.glite.lb.client/src/statistics.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/org.glite.lb.client/interface/statistics.h b/org.glite.lb.client/interface/statistics.h index e07a7ca..8757fe9 100644 --- a/org.glite.lb.client/interface/statistics.h +++ b/org.glite.lb.client/interface/statistics.h @@ -73,7 +73,7 @@ int edg_wll_StateDurationFromTo( const edg_wll_QueryRec *group, edg_wll_JobStatCode base, edg_wll_JobStatCode final, - int *minor, + int minor, time_t *from, time_t *to, float *duration, diff --git a/org.glite.lb.client/src/statistics.c b/org.glite.lb.client/src/statistics.c index 1f808ff..fed5af4 100644 --- a/org.glite.lb.client/src/statistics.c +++ b/org.glite.lb.client/src/statistics.c @@ -66,7 +66,7 @@ int edg_wll_StateRate( edg_wll_ResetError(ctx); - edg_wll_StatsRequestToXML(ctx, "Rate", group, major, EDG_WLL_JOB_UNDEF, minor, from, to, &send_mess); + edg_wll_StatsRequestToXML(ctx, "Rate", group, major, minor, from, to, &send_mess); if (set_server_name_and_port(ctx, NULL)) goto err; @@ -112,7 +112,7 @@ int edg_wll_StateDuration( edg_wll_ResetError(ctx); - edg_wll_StatsRequestToXML(ctx, "Duration", group, major, EDG_WLL_JOB_UNDEF, minor, from, to, &send_mess); + edg_wll_StatsRequestToXML(ctx, "Duration", group, major, minor, from, to, &send_mess); if (set_server_name_and_port(ctx, NULL)) goto err; @@ -146,7 +146,7 @@ int edg_wll_StateDurationFromTo( const edg_wll_QueryRec *group, edg_wll_JobStatCode base, edg_wll_JobStatCode final, - int *minor, + int minor, time_t *from, time_t *to, float *duration, @@ -160,7 +160,7 @@ int edg_wll_StateDurationFromTo( edg_wll_ResetError(ctx); - edg_wll_StatsRequestToXML(ctx, "DurationFromTo", group, base, final, minor, from, to, &send_mess); + edg_wll_StatsDurationFTRequestToXML(ctx, "DurationFromTo", group, base, final, minor, from, to, &send_mess); if (set_server_name_and_port(ctx, NULL)) goto err; -- 1.8.2.3