From 4003edf0df14b69fca0d1af923badbd682c0008c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 16 Feb 2007 14:50:57 +0000 Subject: r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4. (This used to be commit b84370513fbf790e599c33f177fb271a2a992b72) --- source3/rpc_server/srv_winreg_nt.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c index 404210a416..6db31eeb80 100644 --- a/source3/rpc_server/srv_winreg_nt.c +++ b/source3/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; -- cgit