From: R.E. Wolff Date: Fri, 2 Jun 2017 08:52:58 +0000 (+0200) Subject: added a few arguments to calls added by fmazu. Allows it to compile. X-Git-Tag: v0.92~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c9820316ec0fb415b3614585cedd89619e3ad80;p=thirdparty%2Fmtr.git added a few arguments to calls added by fmazu. Allows it to compile. --- diff --git a/ui/report.c b/ui/report.c index 6c39686..7700391 100644 --- a/ui/report.c +++ b/ui/report.c @@ -321,8 +321,8 @@ void json_close( printf(" \"host\": \"%s\",\n", name); #ifdef HAVE_IPINFO if(!ctl->ipinfo_no) { - char* fmtinfo = fmt_ipinfo(addr); - if (fmtinfo != NULL) fmtinfo = trim(fmtinfo); + char* fmtinfo = fmt_ipinfo(ctl, addr); + if (fmtinfo != NULL) fmtinfo = trim(fmtinfo, '\0'); printf(" \"ASN\": \"%s\",\n", fmtinfo); } #endif