From c448896c7eda9a71c7ecc7debd46e977b507c183 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 15 Jan 2007 02:23:40 +0000 Subject: r20786: Fix the build. (This used to be commit 42bb335bd50a5070ee59c9d9748db8a9e9d6a9b0) --- source4/gtk/tools/gepdump.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source4/gtk/tools') diff --git a/source4/gtk/tools/gepdump.c b/source4/gtk/tools/gepdump.c index 4fd7eecdda..e8986f453a 100644 --- a/source4/gtk/tools/gepdump.c +++ b/source4/gtk/tools/gepdump.c @@ -212,15 +212,15 @@ static gboolean on_eps_select(GtkTreeSelection *selection, return TRUE; } - if (r.out.statistics.count != MGMT_STATS_ARRAY_MAX_SIZE) { - printf("Unexpected array size %d\n", r.out.statistics.count); + if (r.out.statistics->count != MGMT_STATS_ARRAY_MAX_SIZE) { + printf("Unexpected array size %d\n", r.out.statistics->count); return False; } - gtk_label_set_text(GTK_LABEL(lbl_calls_in), talloc_asprintf(mem_ctx, "%6d", r.out.statistics.statistics[MGMT_STATS_CALLS_IN])); - gtk_label_set_text(GTK_LABEL(lbl_calls_out), talloc_asprintf(mem_ctx, "%6d", r.out.statistics.statistics[MGMT_STATS_CALLS_OUT])); - gtk_label_set_text(GTK_LABEL(lbl_pkts_in), talloc_asprintf(mem_ctx, "%6d", r.out.statistics.statistics[MGMT_STATS_PKTS_IN])); - gtk_label_set_text(GTK_LABEL(lbl_pkts_out), talloc_asprintf(mem_ctx, "%6d", r.out.statistics.statistics[MGMT_STATS_PKTS_OUT])); + gtk_label_set_text(GTK_LABEL(lbl_calls_in), talloc_asprintf(mem_ctx, "%6d", r.out.statistics->statistics[MGMT_STATS_CALLS_IN])); + gtk_label_set_text(GTK_LABEL(lbl_calls_out), talloc_asprintf(mem_ctx, "%6d", r.out.statistics->statistics[MGMT_STATS_CALLS_OUT])); + gtk_label_set_text(GTK_LABEL(lbl_pkts_in), talloc_asprintf(mem_ctx, "%6d", r.out.statistics->statistics[MGMT_STATS_PKTS_IN])); + gtk_label_set_text(GTK_LABEL(lbl_pkts_out), talloc_asprintf(mem_ctx, "%6d", r.out.statistics->statistics[MGMT_STATS_PKTS_OUT])); } { -- cgit