summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_srvsvc.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-22 04:31:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:01:02 -0500
commit0705d64035fc4aa20eddc74b269393ce7896f7b8 (patch)
tree96669dc63c5830dd378618ed47cf75be4c0c0bf7 /source3/librpc/gen_ndr/srv_srvsvc.c
parent21931b1ca834f41c5ca931cdfb6f0347b5cb3c96 (diff)
downloadsamba-0705d64035fc4aa20eddc74b269393ce7896f7b8.tar.gz
samba-0705d64035fc4aa20eddc74b269393ce7896f7b8.tar.bz2
samba-0705d64035fc4aa20eddc74b269393ce7896f7b8.zip
r18811: rename stat field to avoid compiler warnings about
shadowed variables (This used to be commit cc5f31c08159d671eaa873eb39b25893931c7341)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_srvsvc.c')
-rw-r--r--source3/librpc/gen_ndr/srv_srvsvc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/librpc/gen_ndr/srv_srvsvc.c b/source3/librpc/gen_ndr/srv_srvsvc.c
index 0d6df7d83f..7e987316d4 100644
--- a/source3/librpc/gen_ndr/srv_srvsvc.c
+++ b/source3/librpc/gen_ndr/srv_srvsvc.c
@@ -1498,13 +1498,13 @@ static BOOL api_srvsvc_NetServerStatisticsGet(pipes_struct *p)
NDR_PRINT_IN_DEBUG(srvsvc_NetServerStatisticsGet, &r);
ZERO_STRUCT(r.out);
- r.out.stat = talloc_zero_size(mem_ctx, sizeof(*r.out.stat));
- if (r.out.stat == NULL) {
+ r.out.stats = talloc_zero_size(mem_ctx, sizeof(*r.out.stats));
+ if (r.out.stats == NULL) {
talloc_free(mem_ctx);
return False;
}
- r.out.result = _srvsvc_NetServerStatisticsGet(p, r.in.server_unc, r.in.service, r.in.level, r.in.options, r.out.stat);
+ r.out.result = _srvsvc_NetServerStatisticsGet(p, r.in.server_unc, r.in.service, r.in.level, r.in.options, r.out.stats);
if (DEBUGLEVEL >= 10)
NDR_PRINT_OUT_DEBUG(srvsvc_NetServerStatisticsGet, &r);