summaryrefslogtreecommitdiff
path: root/source4/gtk/tools
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-01-15 02:23:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:40:55 -0500
commitc448896c7eda9a71c7ecc7debd46e977b507c183 (patch)
tree09ddbc7c688874cfb9cd18503d53ebcf684ad693 /source4/gtk/tools
parent153d4f367b755a66fd855b061b63bb0edfe360f3 (diff)
downloadsamba-c448896c7eda9a71c7ecc7debd46e977b507c183.tar.gz
samba-c448896c7eda9a71c7ecc7debd46e977b507c183.tar.bz2
samba-c448896c7eda9a71c7ecc7debd46e977b507c183.zip
r20786: Fix the build.
(This used to be commit 42bb335bd50a5070ee59c9d9748db8a9e9d6a9b0)
Diffstat (limited to 'source4/gtk/tools')
-rw-r--r--source4/gtk/tools/gepdump.c12
1 files changed, 6 insertions, 6 deletions
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]));
}
{