summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-12-01 20:01:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:18 -0500
commitecf90c495eb850cd6f376fb4e090640b69f0c029 (patch)
treef3f30d71daab2abb56f50bac558fb9a43f28d6f1 /source3/rpcclient
parente57de5730cd65bca08ea2dabcf2d74d52825285e (diff)
downloadsamba-ecf90c495eb850cd6f376fb4e090640b69f0c029.tar.gz
samba-ecf90c495eb850cd6f376fb4e090640b69f0c029.tar.bz2
samba-ecf90c495eb850cd6f376fb4e090640b69f0c029.zip
r19991: Sorry for this 2000-liner...
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality has moved to registry/reg_api.c which is then usable by the rest of Samba as well. On that way it fixes creating keys with more than one element in the path. This did not work before. Two things that sneaked in (sorry :-) is the change of some routines from NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal. Volker (This used to be commit fea52801de8c7b85c578d200c599475680c5339f)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_spoolss.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c
index 3257ec9215..fe16573248 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/rpcclient/cmd_spoolss.c
@@ -712,10 +712,9 @@ static void display_reg_value(REGISTRY_VALUE value)
uint32 i, num_values;
char **values;
- if (!NT_STATUS_IS_OK(reg_pull_multi_sz(NULL, value.data_p,
- value.size,
- &num_values,
- &values))) {
+ if (!W_ERROR_IS_OK(reg_pull_multi_sz(NULL, value.data_p,
+ value.size, &num_values,
+ &values))) {
d_printf("reg_pull_multi_sz failed\n");
break;
}