diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-02-16 14:50:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:00 -0500 |
commit | b84370513fbf790e599c33f177fb271a2a992b72 (patch) | |
tree | 1a698995c2e6fa9cfdd4b0465e6c005e48263216 /source/rpc_server/srv_winreg_nt.c | |
parent | a6b55beae7ae0c70cf955d01f51f881f9f962910 (diff) | |
download | samba-b84370513fbf790e599c33f177fb271a2a992b72.tar.gz samba-b84370513fbf790e599c33f177fb271a2a992b72.tar.xz samba-b84370513fbf790e599c33f177fb271a2a992b72.zip |
r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4.
Diffstat (limited to 'source/rpc_server/srv_winreg_nt.c')
-rw-r--r-- | source/rpc_server/srv_winreg_nt.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/rpc_server/srv_winreg_nt.c b/source/rpc_server/srv_winreg_nt.c index 404210a4167..6db31eeb803 100644 --- a/source/rpc_server/srv_winreg_nt.c +++ b/source/rpc_server/srv_winreg_nt.c @@ -445,22 +445,22 @@ WERROR _winreg_EnumValue(pipes_struct *p, struct winreg_EnumValue *r) } if (r->out.data != NULL) { - if ((r->out.data_size == NULL) || (r->out.value_length == NULL)) { + if ((r->out.size == NULL) || (r->out.length == NULL)) { return WERR_INVALID_PARAM; } - if (value_blob.length > *r->out.data_size) { + if (value_blob.length > *r->out.size) { return WERR_MORE_DATA; } memcpy( r->out.data, value_blob.data, value_blob.length ); } - if (r->out.value_length != NULL) { - *r->out.value_length = value_blob.length; + if (r->out.length != NULL) { + *r->out.length = value_blob.length; } - if (r->out.data_size != NULL) { - *r->out.data_size = value_blob.length; + if (r->out.size != NULL) { + *r->out.size = value_blob.length; } return WERR_OK; |