summaryrefslogtreecommitdiff
path: root/source4/gtk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-11-22 16:55:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:28:24 -0500
commit41848fea6fb3cea36caf0790302f7460b03d17c9 (patch)
tree9d3f3897ba6eba28e5cc17aa4b252f4efb3cf699 /source4/gtk
parentef9e094d848cee3dd61cf6521458d946df2e24d7 (diff)
downloadsamba-41848fea6fb3cea36caf0790302f7460b03d17c9.tar.gz
samba-41848fea6fb3cea36caf0790302f7460b03d17c9.tar.bz2
samba-41848fea6fb3cea36caf0790302f7460b03d17c9.zip
r19844: Fix warnings and errors in epmapper IDL.
(This used to be commit 0221d5b6c4250a3a2c86c623c534996d7decb1f6)
Diffstat (limited to 'source4/gtk')
-rw-r--r--source4/gtk/tools/gepdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/gtk/tools/gepdump.c b/source4/gtk/tools/gepdump.c
index ccfcf1f5a6..4fd7eecdda 100644
--- a/source4/gtk/tools/gepdump.c
+++ b/source4/gtk/tools/gepdump.c
@@ -146,13 +146,13 @@ static void refresh_eps(void)
if (!NT_STATUS_IS_OK(status) || r.out.result != 0) {
break;
}
- for (i=0;i<r.out.num_ents;i++) {
+ for (i=0;i<*r.out.num_ents;i++) {
add_epm_entry(mem_ctx, r.out.entries[i].annotation, &r.out.entries[i].tower->tower);
}
} while (NT_STATUS_IS_OK(status) &&
r.out.result == 0 &&
- r.out.num_ents == r.in.max_ents);
+ *r.out.num_ents == r.in.max_ents);
if (!NT_STATUS_IS_OK(status)) {
gtk_show_ntstatus(mainwin, "Error adding endpoint mapper entry", status);