[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-512-g2c287ce

Günther Deschner gd at samba.org
Fri Dec 7 10:40:12 GMT 2007


The branch, v3-2-test has been updated
       via  2c287ce0507a019aaa4d8dec74bc5c515ec2e3c7 (commit)
      from  cb3a2dfeb047d45bb9eec8cb97d3ba288f21887e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 2c287ce0507a019aaa4d8dec74bc5c515ec2e3c7
Author: Günther Deschner <gd at samba.org>
Date:   Thu Dec 6 19:05:54 2007 +0100

    Allow to set level in cmd_wkssvc_wkstagetinfo().
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source/rpcclient/cmd_wkssvc.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/rpcclient/cmd_wkssvc.c b/source/rpcclient/cmd_wkssvc.c
index f3ff811..5873f17 100644
--- a/source/rpcclient/cmd_wkssvc.c
+++ b/source/rpcclient/cmd_wkssvc.c
@@ -32,6 +32,15 @@ static WERROR cmd_wkssvc_wkstagetinfo(struct rpc_pipe_client *cli,
 	union wkssvc_NetWkstaInfo info;
 	const char *server_name;
 
+	if (argc > 2) {
+		printf("usage: %s <level>\n", argv[0]);
+		return WERR_OK;
+	}
+
+	if (argc > 1) {
+		level = atoi(argv[1]);
+	}
+
 	server_name = cli->cli->desthost;
 
 	status = rpccli_wkssvc_NetWkstaGetInfo(cli, mem_ctx,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list