From aa1c83bdbb7fb6d218ac5965433094fe127fc173 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 21 Oct 2004 10:52:03 +0000 Subject: r3111: Add a few more protocol identifiers, rhs for ncalrpc (This used to be commit 53567a83cbca9df60bef76a15df24d2cd89a16b0) --- source4/rpc_server/epmapper/rpc_epmapper.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/rpc_server/epmapper') diff --git a/source4/rpc_server/epmapper/rpc_epmapper.c b/source4/rpc_server/epmapper/rpc_epmapper.c index 7de99687b7..cf6b8429f0 100644 --- a/source4/rpc_server/epmapper/rpc_epmapper.c +++ b/source4/rpc_server/epmapper/rpc_epmapper.c @@ -218,7 +218,7 @@ static error_status_t epm_Lookup(struct dcesrv_call_state *dce_call, TALLOC_CTX return EPMAPPER_STATUS_NO_MEMORY; } - if (!fill_protocol_tower(mem_ctx, &r->out.entries[i].tower->towers, &eps->e[i])) { + if (!fill_protocol_tower(mem_ctx, &r->out.entries[i].tower->tower, &eps->e[i])) { return EPMAPPER_STATUS_NO_MEMORY; } } @@ -256,11 +256,11 @@ static error_status_t epm_Map(struct dcesrv_call_state *dce_call, TALLOC_CTX *me } if (!r->in.map_tower || r->in.max_towers == 0 || - r->in.map_tower->towers.num_floors != 5) { + r->in.map_tower->tower.num_floors != 5) { goto failed; } - floors = r->in.map_tower->towers.floors; + floors = r->in.map_tower->tower.floors; if (floors[0].lhs.protocol != EPM_PROTOCOL_UUID || floors[1].lhs.protocol != EPM_PROTOCOL_UUID || @@ -289,7 +289,7 @@ static error_status_t epm_Map(struct dcesrv_call_state *dce_call, TALLOC_CTX *me } break; } - fill_protocol_tower(mem_ctx, &r->out.towers->twr->towers, &eps[i]); + fill_protocol_tower(mem_ctx, &r->out.towers->twr->tower, &eps[i]); r->out.towers->twr->tower_length = 0; return EPMAPPER_STATUS_OK; } -- cgit