1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

r14377: Fix coverity #4 for 3_0 too

(This used to be commit aa26642ee19dcf7cfa3cb36032eadc823b01966b)
This commit is contained in:
Simo Sorce 2006-03-14 13:58:17 +00:00 committed by Gerald (Jerry) Carter
parent 81e4340fd4
commit be738dd31d

View File

@ -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) {