diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-02-27 17:17:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:13 -0500 |
commit | 7d2152b8dc160175939eeb3b943827f3b68928bd (patch) | |
tree | 6fe2017a539717303436ca26e98812b5b29794f8 /source3/librpc/gen_ndr/ndr_initshutdown.c | |
parent | 81e4a28718632c1e5173ecb8b16db43cde439254 (diff) | |
download | samba-7d2152b8dc160175939eeb3b943827f3b68928bd.tar.gz samba-7d2152b8dc160175939eeb3b943827f3b68928bd.tar.bz2 samba-7d2152b8dc160175939eeb3b943827f3b68928bd.zip |
r21562: Regenerate gen_ndr after pidl changes.
(This used to be commit 952f648d8132a0652bb03b9e7671239e57614ee9)
Diffstat (limited to 'source3/librpc/gen_ndr/ndr_initshutdown.c')
-rw-r--r-- | source3/librpc/gen_ndr/ndr_initshutdown.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/librpc/gen_ndr/ndr_initshutdown.c b/source3/librpc/gen_ndr/ndr_initshutdown.c index aa35a8dd05..a0e2ed9d77 100644 --- a/source3/librpc/gen_ndr/ndr_initshutdown.c +++ b/source3/librpc/gen_ndr/ndr_initshutdown.c @@ -41,7 +41,7 @@ _PUBLIC_ void ndr_print_initshutdown_String_sub(struct ndr_print *ndr, const cha { ndr_print_struct(ndr, name, "initshutdown_String_sub"); ndr->depth++; - ndr_print_uint32(ndr, "name_size", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?strlen_m_term(r->name):r->name_size); + ndr_print_uint32(ndr, "name_size", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?strlen_m_term(r->name):strlen_m_term(r->name)); ndr_print_string(ndr, "name", r->name); ndr->depth--; } @@ -92,8 +92,8 @@ _PUBLIC_ void ndr_print_initshutdown_String(struct ndr_print *ndr, const char *n { ndr_print_struct(ndr, name, "initshutdown_String"); ndr->depth++; - ndr_print_uint16(ndr, "name_len", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?strlen_m(r->name->name) * 2:r->name_len); - ndr_print_uint16(ndr, "name_size", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?strlen_m_term(r->name->name) * 2:r->name_size); + ndr_print_uint16(ndr, "name_len", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?strlen_m(r->name->name) * 2:strlen_m(r->name->name) * 2); + ndr_print_uint16(ndr, "name_size", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?strlen_m_term(r->name->name) * 2:strlen_m_term(r->name->name) * 2); ndr_print_ptr(ndr, "name", r->name); ndr->depth++; if (r->name) { |