summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-02-16 14:50:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:00 -0500
commit4003edf0df14b69fca0d1af923badbd682c0008c (patch)
tree2547c3444aadb9413652d7f71aaffeb3f171a83e /source3/rpc_server
parent299e16112d781ab8c24134c249e0259265a15fd4 (diff)
downloadsamba-4003edf0df14b69fca0d1af923badbd682c0008c.tar.gz
samba-4003edf0df14b69fca0d1af923badbd682c0008c.tar.bz2
samba-4003edf0df14b69fca0d1af923badbd682c0008c.zip
r21385: Regenerate IDL after pidl changes, sync winreg.idl from samba4.
(This used to be commit b84370513fbf790e599c33f177fb271a2a992b72)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_winreg_nt.c12
1 files changed, 6 insertions, 6 deletions
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;