[opendmarc-dev] OpenDMARC 1.1.0 Beta1 available
Murray S. Kucherawy
msk at blackops.org
Mon Feb 11 12:52:35 PST 2013
Try the attached patch.
(They're not new warnings, but I should probably clean them up.)
-MSK
-------------- next part --------------
diff --git a/libopendmarc/opendmarc_dns.c b/libopendmarc/opendmarc_dns.c
index 214a249..3314201 100644
--- a/libopendmarc/opendmarc_dns.c
+++ b/libopendmarc/opendmarc_dns.c
@@ -213,7 +213,7 @@ dmarc_dns_get_record(char *domain, int *reply, char *got_txtbuf, size_t got_txtl
#if defined RES_USE_DNSSEC
_res.options |= RES_USE_DNSSEC;
#endif
- (void) opendmarc_policy_library_dns_hook(&(_res.nscount), &(_res.nsaddr_list));
+ (void) opendmarc_policy_library_dns_hook(&(_res.nscount), (struct sockaddr_in **) &(_res.nsaddr_list));
answer_len = res_query(bp, C_IN, T_TXT, answer_buf, sizeof answer_buf);
#endif /* HAVE_RES_NINIT */
if (answer_len < 0)
diff --git a/libopendmarc/opendmarc_internal.h b/libopendmarc/opendmarc_internal.h
index 1af1510..9893e62 100644
--- a/libopendmarc/opendmarc_internal.h
+++ b/libopendmarc/opendmarc_internal.h
@@ -222,6 +222,6 @@ u_char * opendmarc_util_cleanup(u_char *str, u_char *buf, size_t buflen);
u_char * opendmarc_util_finddomain(u_char *raw, u_char *buf, size_t buflen);
/* opendmarc_policy.c */
-void opendmarc_policy_library_dns_hook(int *nscountp, struct sockaddr_in *(nsaddr_list[]));
+void opendmarc_policy_library_dns_hook(int *nscountp, struct sockaddr_in **);
#endif /* OPENDMARC_INTERNAL_H */
More information about the opendmarc-dev
mailing list