summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-06-29 12:15:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:42 -0500
commit96c4bf4a1c70e080107e954ea09dbe0a9709ae4f (patch)
tree9be39b306d9e7820bd7c68b0b5aa754328500eb9
parent8ead92f06d11ae1cbedf2b700bdbf96da5602a1d (diff)
downloadsamba-96c4bf4a1c70e080107e954ea09dbe0a9709ae4f.tar.gz
samba-96c4bf4a1c70e080107e954ea09dbe0a9709ae4f.tar.bz2
samba-96c4bf4a1c70e080107e954ea09dbe0a9709ae4f.zip
r23655: Fix a comment and adjust some code formatting.
Michael (This used to be commit b294bc707c2a7ef3ff5efcac1d5ea6f3d80f5a70)
-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 b9b693d8d5..021ac0005d 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -145,7 +145,7 @@ static char *format_value(TALLOC_CTX *mem_ctx, struct registry_value *value)
/*
* add a value to a key.
*/
-static WERROR reg_setvalue_internal(struct registry_key *key,
+static WERROR reg_setvalue_internal(struct registry_key *key,
const char *valname,
const char *valtype,
const char *valstr)
@@ -165,7 +165,8 @@ static WERROR reg_setvalue_internal(struct registry_key *key,
val.v.sz.len = strlen(valstr) + 1;
}
else {
- d_fprintf(stderr, "Sorry, only value types DWORD and SZ implementd currently for setting values.\n");
+ d_fprintf(stderr, "Only value types DWORD and SZ are"
+ "currently implemented for setting values.\n");
goto done;
}