summaryrefslogtreecommitdiff
path: root/source4/rpc_server/winreg
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-03-11 20:17:48 +0100
committerGünther Deschner <gd@samba.org>2010-03-11 20:17:48 +0100
commit9e80fe66758829ca1721cd2b8eddd90cb90d6418 (patch)
treeaea4bcf63a7f21cb75f26a9103b8b5a72d4e7b30 /source4/rpc_server/winreg
parent09ea04a7f8edc407761450d30fe9a54cac0d7133 (diff)
downloadsamba-9e80fe66758829ca1721cd2b8eddd90cb90d6418.tar.gz
samba-9e80fe66758829ca1721cd2b8eddd90cb90d6418.tar.bz2
samba-9e80fe66758829ca1721cd2b8eddd90cb90d6418.zip
s4-winreg: continue processing in WERR_MORE_DATA case in dcesrv_winreg_QueryValue().
Matthias, please check. Guenther
Diffstat (limited to 'source4/rpc_server/winreg')
-rw-r--r--source4/rpc_server/winreg/rpc_winreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c
index 7a33a88e0d..61920b20a8 100644
--- a/source4/rpc_server/winreg/rpc_winreg.c
+++ b/source4/rpc_server/winreg/rpc_winreg.c
@@ -507,7 +507,7 @@ static WERROR dcesrv_winreg_QueryValue(struct dcesrv_call_state *dce_call,
} else {
if ((r->in.data != NULL)
&& (*r->in.data_size < value_data.length)) {
- return WERR_MORE_DATA;
+ result = WERR_MORE_DATA;
}
}