summaryrefslogtreecommitdiff
path: root/libcli/ndr_netlogon.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-01-01 04:45:33 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-01-01 04:45:33 +0100
commit08259c1c52a9921de6fba08939130698b474f382 (patch)
tree2e563ba2d2dd10d34965f0de5b2c56118065d0f1 /libcli/ndr_netlogon.c
parent2dc045007ef68bc42822471a3a08c8f094e29980 (diff)
downloadsamba-08259c1c52a9921de6fba08939130698b474f382.tar.gz
samba-08259c1c52a9921de6fba08939130698b474f382.tar.bz2
samba-08259c1c52a9921de6fba08939130698b474f382.zip
Add iconv_convenience argument to size functions.
Diffstat (limited to 'libcli/ndr_netlogon.c')
-rw-r--r--libcli/ndr_netlogon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcli/ndr_netlogon.c b/libcli/ndr_netlogon.c
index ffc075fab2..0354cfb592 100644
--- a/libcli/ndr_netlogon.c
+++ b/libcli/ndr_netlogon.c
@@ -137,12 +137,12 @@ enum ndr_err_code ndr_push_NETLOGON_SAM_LOGON_RESPONSE_EX_with_flags(struct ndr_
NDR_CHECK(ndr_push_nbt_string(ndr, NDR_SCALARS, r->server_site));
NDR_CHECK(ndr_push_nbt_string(ndr, NDR_SCALARS, r->client_site));
if (r->nt_version & NETLOGON_NT_VERSION_5EX_WITH_IP) {
- NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, ndr_size_nbt_sockaddr(&r->sockaddr, ndr->flags)));
+ NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, ndr_size_nbt_sockaddr(&r->sockaddr, ndr->iconv_convenience, ndr->flags)));
{
struct ndr_push *_ndr_sockaddr;
- NDR_CHECK(ndr_push_subcontext_start(ndr, &_ndr_sockaddr, 0, ndr_size_nbt_sockaddr(&r->sockaddr, ndr->flags)));
+ NDR_CHECK(ndr_push_subcontext_start(ndr, &_ndr_sockaddr, 0, ndr_size_nbt_sockaddr(&r->sockaddr, ndr->iconv_convenience, ndr->flags)));
NDR_CHECK(ndr_push_nbt_sockaddr(_ndr_sockaddr, NDR_SCALARS|NDR_BUFFERS, &r->sockaddr));
- NDR_CHECK(ndr_push_subcontext_end(ndr, _ndr_sockaddr, 0, ndr_size_nbt_sockaddr(&r->sockaddr, ndr->flags)));
+ NDR_CHECK(ndr_push_subcontext_end(ndr, _ndr_sockaddr, 0, ndr_size_nbt_sockaddr(&r->sockaddr, ndr->iconv_convenience, ndr->flags)));
}
}
if (r->nt_version & NETLOGON_NT_VERSION_WITH_CLOSEST_SITE) {