On Mon, 2 Apr 2012, Murray S. Kucherawy wrote:
> I'm not too concerned with the cost of retrieving a pointer from inside an opaque data structure, which is all that function does. But in the interests of preserving your efficiency, I'll do this instead:
>
> if (conf->conf_localadsp_db != NULL)
> {
> u_char *domain;
>
> domain = dkim_getdomain(dfc->mctx_dkimv);
>
> if (domain != NULL &&
> dkimf_local_adsp(conf, (char *) domain,
> &dfc->mctx_pcode))
> {
> pstatus = DKIM_STAT_OK;
> policydone = TRUE;
> localadsp = TRUE;
> localresult = DKIM_PRESULT_FOUND;
> }
> }
>
> How's that?
This patch fixes the problem as well.
Like I said it's not a big deal. I just noticed it so I figured I would
mention it.
Thanks!
--
John Merriam
Received on Mon Apr 02 2012 - 14:03:17 PST