diff --git a/NEWS b/NEWS index e742a63..4cc42b1 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,9 @@ The new release script will do a "git shortlog" to add the commit messages here. #NEW_STUFF_HERE this is a tag my script looks for. +V0.92 + added a few arguments to calls added by fmazu. Allows it to compile. + V0.91 only made the tag point to the proper commit. --REW script now handles that situation (aborted release script) better. 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 .