diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-10-21 10:52:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:02:22 -0500 |
commit | aa1c83bdbb7fb6d218ac5965433094fe127fc173 (patch) | |
tree | f8834b95bdaa5bd8957a22a9411ea672f32394bb /source4/rpc_server/epmapper | |
parent | 6a304256d00e225872a06d1ec10152629352f41c (diff) | |
download | samba-aa1c83bdbb7fb6d218ac5965433094fe127fc173.tar.gz samba-aa1c83bdbb7fb6d218ac5965433094fe127fc173.tar.bz2 samba-aa1c83bdbb7fb6d218ac5965433094fe127fc173.zip |
r3111: Add a few more protocol identifiers, rhs for ncalrpc
(This used to be commit 53567a83cbca9df60bef76a15df24d2cd89a16b0)
Diffstat (limited to 'source4/rpc_server/epmapper')
-rw-r--r-- | source4/rpc_server/epmapper/rpc_epmapper.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |