freebsd-ports/dns/fastresolve/files/patch-dns-terror__dns-terror.cc
Kurt Jaeger 536a7e97be dns/fastresolve: fix segfault
PR:		207589, 207628
Submitted by:	Miroslav Lachman <000.fbsd@quip.cz>, Dan Lukes <dan@obluda.cz>, Chris Hutchinsin <portmaster@bsdforge.com> (maintainer)
2016-03-02 07:58:13 +00:00

12 lines
436 B
C++

--- dns-terror/dns-terror.cc.orig 2003-05-17 18:04:55 UTC
+++ dns-terror/dns-terror.cc
@@ -331,8 +331,7 @@ submit_query(adns_state ads, BoolStringM
}
r = adns_submit(ads, rev, adns_r_ptr_raw,
- (enum adns_queryflags)
- (adns_qf_quoteok_cname|adns_qf_quoteok_anshost), lp, &qu);
+ adns_queryflags (adns_qf_quoteok_cname|adns_qf_quoteok_anshost), lp, &qu);
if (r)
fatal_errno("adns_submit", r);
if (verbose)