summaryrefslogtreecommitdiffstats
path: root/source/libmsrpc
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-03-14 13:58:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:27 -0500
commitaa26642ee19dcf7cfa3cb36032eadc823b01966b (patch)
treea1971de7c200784aef01593a016a885e63330d43 /source/libmsrpc
parent8d4290cb8ed75cf12fa45bcf3e93cfe1a5567919 (diff)
downloadsamba-aa26642ee19dcf7cfa3cb36032eadc823b01966b.tar.gz
samba-aa26642ee19dcf7cfa3cb36032eadc823b01966b.tar.xz
samba-aa26642ee19dcf7cfa3cb36032eadc823b01966b.zip
r14377: Fix coverity #4 for 3_0 too
Diffstat (limited to 'source/libmsrpc')
-rw-r--r--source/libmsrpc/cac_lsarpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libmsrpc/cac_lsarpc.c b/source/libmsrpc/cac_lsarpc.c
index 83d147c0254..72f22de5f22 100644
--- a/source/libmsrpc/cac_lsarpc.c
+++ b/source/libmsrpc/cac_lsarpc.c
@@ -440,7 +440,7 @@ domain:
hnd->status = rpccli_lsa_query_info_policy( pipe_hnd, mem_ctx, op->in.pol, CAC_DOMAIN_INFO, &dom_name, &domain_sid);
if(!NT_STATUS_IS_OK(hnd->status)) {
/*if we succeeded above, report partial success*/
- result = (result == CAC_SUCCESS) ? CAC_PARTIAL_SUCCESS : CAC_FAILURE;
+ result = CAC_FAILURE;
goto done;
}
else if(result == CAC_FAILURE) {