summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-02-20 13:43:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:06 -0500
commit1052cadbae7bf71a0575b06e8ac7ff52c7fb95ee (patch)
treef4f5439a2e2d9efadabc96ae6c9b56e14acb8a17 /source3/rpc_server
parentb45442e46d595337c17829aed2d846a8c8963e6e (diff)
downloadsamba-1052cadbae7bf71a0575b06e8ac7ff52c7fb95ee.tar.gz
samba-1052cadbae7bf71a0575b06e8ac7ff52c7fb95ee.tar.bz2
samba-1052cadbae7bf71a0575b06e8ac7ff52c7fb95ee.zip
r21462: Fix EnumValue (?)
(This used to be commit e73a418b5b0100936efb4c1133da3cfe3fcb61cd)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_winreg_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c
index 6db31eeb80..9e712173ab 100644
--- a/source3/rpc_server/srv_winreg_nt.c
+++ b/source3/rpc_server/srv_winreg_nt.c
@@ -444,7 +444,7 @@ WERROR _winreg_EnumValue(pipes_struct *p, struct winreg_EnumValue *r)
*r->out.type = val->type;
}
- if (r->out.data != NULL) {
+ if (r->out.value != NULL) {
if ((r->out.size == NULL) || (r->out.length == NULL)) {
return WERR_INVALID_PARAM;
}
@@ -453,7 +453,7 @@ WERROR _winreg_EnumValue(pipes_struct *p, struct winreg_EnumValue *r)
return WERR_MORE_DATA;
}
- memcpy( r->out.data, value_blob.data, value_blob.length );
+ memcpy( r->out.value, value_blob.data, value_blob.length );
}
if (r->out.length != NULL) {