[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-test-2065-gdad7ae3
Günther Deschner
gd at samba.org
Mon Feb 11 09:53:59 GMT 2008
The branch, v3-2-test has been updated
via dad7ae3e1a72a9e291e421f136461c60bcfbe318 (commit)
from 793e5a608b1a40174088db6fbfcfc8cc6263a0da (commit)
http://gitweb.samba.org/?samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit dad7ae3e1a72a9e291e421f136461c60bcfbe318
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 11 10:28:36 2008 +0100
Only call display_lsa_query_info on success in rpcclient.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/rpcclient/cmd_lsarpc.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/rpcclient/cmd_lsarpc.c b/source/rpcclient/cmd_lsarpc.c
index 5d42cff..a49dc38 100644
--- a/source/rpcclient/cmd_lsarpc.c
+++ b/source/rpcclient/cmd_lsarpc.c
@@ -193,8 +193,9 @@ static NTSTATUS cmd_lsa_query_info_policy(struct rpc_pipe_client *cli,
&info);
}
-
- display_lsa_query_info(info, info_class);
+ if (NT_STATUS_IS_OK(result)) {
+ display_lsa_query_info(info, info_class);
+ }
rpccli_lsa_Close(cli, mem_ctx, &pol);
--
Samba Shared Repository
More information about the samba-cvs
mailing list