summaryrefslogtreecommitdiff
path: root/source3/utils/net_registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_registry.c')
-rw-r--r--source3/utils/net_registry.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/source3/utils/net_registry.c b/source3/utils/net_registry.c
index a06a067ee3..73cbbaaa0d 100644
--- a/source3/utils/net_registry.c
+++ b/source3/utils/net_registry.c
@@ -263,8 +263,8 @@ done:
return ret;
}
-static int net_registry_getvalue(struct net_context *c, int argc,
- const char **argv)
+static int net_registry_getvalue_internal(struct net_context *c, int argc,
+ const char **argv, bool raw)
{
WERROR werr;
int ret = -1;
@@ -291,7 +291,7 @@ static int net_registry_getvalue(struct net_context *c, int argc,
goto done;
}
- print_registry_value(value, false);
+ print_registry_value(value, raw);
ret = 0;
@@ -300,6 +300,12 @@ done:
return ret;
}
+static int net_registry_getvalue(struct net_context *c, int argc,
+ const char **argv)
+{
+ return net_registry_getvalue_internal(c, argc, argv, false);
+}
+
static int net_registry_setvalue(struct net_context *c, int argc,
const char **argv)
{