g = string_fmt_append(g, "%spdomain %s\npolicy %d\n",
dkim_history_buffer, dmarc_used_domain, dmarc_policy);
if ((rua = opendmarc_policy_fetch_rua(dmarc_pctx, NULL, 0, 1)))
for (tmp_ans = 0; rua[tmp_ans]; tmp_ans++)
g = string_fmt_append(g, "%spdomain %s\npolicy %d\n",
dkim_history_buffer, dmarc_used_domain, dmarc_policy);
if ((rua = opendmarc_policy_fetch_rua(dmarc_pctx, NULL, 0, 1)))
for (tmp_ans = 0; rua[tmp_ans]; tmp_ans++)
opendmarc_policy_fetch_pct(dmarc_pctx, &tmp_ans);
g = atring_fmt_append(g, "pct %d\n", tmp_ans);
opendmarc_policy_fetch_pct(dmarc_pctx, &tmp_ans);
g = atring_fmt_append(g, "pct %d\n", tmp_ans);