Building 1.3.1 gets this warning:
opendmarc_dns.c: In function 'dmarc_dns_get_record':
opendmarc_dns.c:220:50: warning: passing argument 2 of 'opendmarc_policy_library_dns_hook' from incompatible pointer type
&_res.nsaddr_list);
^
In file included from opendmarc_dns.c:15:0:
opendmarc_internal.h:233:6: note: expected 'struct sockaddr_in ' but argument is of type 'struct sockaddr_in ()[3]'
void opendmarc_policy_library_dns_hook(int nscountp, struct sockaddr_in nsaddr_list);
Patch which rectifies the warning is attached. Please credit Sebastian A. Siewior for the fix, since it's his patch, I'm just forwarding it along.
the patch is confirmed to work
Patch applied.
Fixed in 1.3.2.