summaryrefslogtreecommitdiff
path: root/source3
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
commitbe738dd31dace66f53558b64d6f67828204650aa (patch)
tree29d8acc37b97a2fffdc4d0155ae88d6cec2c4563 /source3
parent81e4340fd495bbdb6679858c393a009ed59bb7cb (diff)
downloadsamba-be738dd31dace66f53558b64d6f67828204650aa.tar.gz
samba-be738dd31dace66f53558b64d6f67828204650aa.tar.bz2
samba-be738dd31dace66f53558b64d6f67828204650aa.zip
r14377: Fix coverity #4 for 3_0 too
(This used to be commit aa26642ee19dcf7cfa3cb36032eadc823b01966b)
Diffstat (limited to 'source3')
-rw-r--r--source3/libmsrpc/cac_lsarpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libmsrpc/cac_lsarpc.c b/source3/libmsrpc/cac_lsarpc.c
index 83d147c025..72f22de5f2 100644
--- a/source3/libmsrpc/cac_lsarpc.c
+++ b/source3/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) {