summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-29 01:17:39 +0100
committerMichael Adam <obnox@samba.org>2007-12-29 01:17:39 +0100
commit4b75bc63bb82f2322acdb013f1cfa9eb36419856 (patch)
treecb36f8a30b44f333c6d81ec17b877018d7ea035b /source3/utils
parentdfa8d9356cea0dd6a1b013a72c3d68c026deb511 (diff)
downloadsamba-4b75bc63bb82f2322acdb013f1cfa9eb36419856.tar.gz
samba-4b75bc63bb82f2322acdb013f1cfa9eb36419856.tar.bz2
samba-4b75bc63bb82f2322acdb013f1cfa9eb36419856.zip
Rename format_value() to libnet_smbconf_format_registry_value().
Michael (This used to be commit 95d5dd9bb0546181cd499e6deabff562166412e3)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_conf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 98cc1ee198..fb6cb58840 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -122,7 +122,8 @@ static WERROR list_values(TALLOC_CTX *ctx, struct registry_key *key)
&valvalue));
idx++)
{
- d_printf("\t%s = %s\n", valname, format_value(ctx, valvalue));
+ d_printf("\t%s = %s\n", valname,
+ libnet_smbconf_format_registry_value(ctx, valvalue));
}
if (!W_ERROR_EQUAL(WERR_NO_MORE_ITEMS, werr)) {
d_fprintf(stderr, "Error enumerating values: %s\n",
@@ -798,7 +799,7 @@ static int net_conf_getparm(int argc, const char **argv)
goto done;
}
- d_printf("%s\n", format_value(ctx, value));
+ d_printf("%s\n", libnet_smbconf_format_registry_value(ctx, value));
ret = 0;
done: