summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
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;
}