ports/sysutils/apachetop/files/patch-src_log.cc
Kurt Jaeger 5a372742d0 sysutils/apachetop: update 0.12.6 -> 0.18.4
- moved to github
- Fix compile
- Fix mis-spelled word

PR:		227865
Submitted by:	ndowens@yahoo.com
Reported by:	Thomas-Henning von Kamptz <tomsoft@mac.com>
Reviewed by:	koobs, danfe
Approved by:	Lukasz Wasikowski <lukasz@wasikowski.net> (maintainer)
2018-12-18 22:03:42 +00:00

11 lines
432 B
C++

--- src/log.cc.orig 2018-08-28 11:26:42 UTC
+++ src/log.cc
@@ -72,7 +72,7 @@ int CommonLogParser::parse(char *logline, struct logbi
/* fire off a query with adns */
b->dns_query = new adns_query;
adns_submit(adns, ptr, adns_r_a,
- (adns_queryflags) NULL, NULL, b->dns_query);
+ (adns_queryflags) 0, 0, b->dns_query);
b->ip_pos = im->insert(RESOLVING_STRING);
b->ip_hash = TTHash(RESOLVING_STRING);