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;
goto done;
}
- print_registry_value(value, false);
+ print_registry_value(value, raw);
ret = 0;
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)
{