[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-4587-g63dbbdb
Volker Lendecke
vlendec at samba.org
Tue Dec 2 14:00:51 GMT 2008
The branch, v3-3-test has been updated
via 63dbbdb33bcab7b762f308a135bb91b8dfc97757 (commit)
from 5f0b7973e04013cc5e3032cb2e96f5e718fb50b5 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 63dbbdb33bcab7b762f308a135bb91b8dfc97757
Author: Volker Lendecke <vl at samba.org>
Date: Tue Dec 2 13:27:50 2008 +0100
Implement type multi_sz for "net registry setvalue"
-----------------------------------------------------------------------
Summary of changes:
source/utils/net_registry.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/utils/net_registry.c b/source/utils/net_registry.c
index 26710b3..fc1cc36 100644
--- a/source/utils/net_registry.c
+++ b/source/utils/net_registry.c
@@ -339,6 +339,10 @@ static int net_registry_setvalue(struct net_context *c, int argc,
value.type = REG_SZ;
value.v.sz.len = strlen(argv[3])+1;
value.v.sz.str = CONST_DISCARD(char *, argv[3]);
+ } else if (strequal(argv[2], "multi_sz")) {
+ value.type = REG_MULTI_SZ;
+ value.v.multi_sz.num_strings = argc - 3;
+ value.v.multi_sz.strings = (char **)(argv + 3);
} else {
d_fprintf(stderr, "type \"%s\" not implemented\n", argv[2]);
goto done;
--
Samba Shared Repository
More information about the samba-cvs
mailing list