git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8ead92f
)
r23655: Fix a comment and adjust some code formatting.
author
Michael Adam
<obnox@samba.org>
Fri, 29 Jun 2007 12:15:41 +0000
(12:15 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:23:42 +0000
(12:23 -0500)
Michael
(This used to be commit
b294bc707c2a7ef3ff5efcac1d5ea6f3d80f5a70
)
source3/utils/net_conf.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_conf.c
b/source3/utils/net_conf.c
index b9b693d8d551cf00c5b1f239d8812673f10586e6..021ac0005d72fa677739235edba64cd9dc60b92c 100644
(file)
--- 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.
*/
/*
* 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)
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 {
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;
}
goto done;
}