diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-03-02 14:26:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:22 -0500 |
commit | 091df71eea5abeb4277b26dd6da87714383f788f (patch) | |
tree | a6e4c830bfaedc57cd097b5433ecaddeb6943102 /source3/librpc/gen_ndr/ndr_initshutdown.c | |
parent | a47ae9246455563e899fca114223b59c6c6ce2c5 (diff) | |
download | samba-091df71eea5abeb4277b26dd6da87714383f788f.tar.gz samba-091df71eea5abeb4277b26dd6da87714383f788f.tar.bz2 samba-091df71eea5abeb4277b26dd6da87714383f788f.zip |
r21655: Regenerate after pidl bugfix.
(This used to be commit 7fdbf66976fa1b43eabca4786844a41a4381b3ef)
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 a0e2ed9d77..aa35a8dd05 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):strlen_m_term(r->name)); + ndr_print_uint32(ndr, "name_size", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?strlen_m_term(r->name):r->name_size); 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: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_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_ptr(ndr, "name", r->name); ndr->depth++; if (r->name) { |