mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:rpcclient: Use C99 initializer for cmd_set in cmd_test
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
eee66741f6
commit
328cb7aa9a
@ -77,10 +77,19 @@ static NTSTATUS cmd_testme(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
|
||||
|
||||
struct cmd_set test_commands[] = {
|
||||
|
||||
{ "TESTING" },
|
||||
{
|
||||
.name = "TESTING",
|
||||
},
|
||||
|
||||
{ "testme", RPC_RTYPE_NTSTATUS, cmd_testme, NULL,
|
||||
NULL, NULL, "Sample test", "testme" },
|
||||
{
|
||||
.name = "testme",
|
||||
.returntype = RPC_RTYPE_NTSTATUS,
|
||||
.ntfn = cmd_testme,
|
||||
.description = "Sample test",
|
||||
.usage = "testme",
|
||||
},
|
||||
|
||||
{ NULL }
|
||||
{
|
||||
.name = NULL,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user