From: R.E. Wolff Date: Sat, 29 Oct 2016 09:50:13 +0000 (+0200) Subject: header alignment issue found&fixed by meingtsla. Fixes #164 X-Git-Tag: v0.88~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5c045115baea06e6872cd27dd68268764704892;p=thirdparty%2Fmtr.git header alignment issue found&fixed by meingtsla. Fixes #164 --- diff --git a/report.c b/report.c index 8986131..b8fbf41 100644 --- a/report.c +++ b/report.c @@ -78,7 +78,7 @@ extern void report_close(struct mtr_ctl *ctl) size_t len=0; size_t len_hosts = 33; #ifdef HAVE_IPINFO - int len_tmp = len_hosts; + int len_tmp; const size_t iiwidth_len = get_iiwidth_len(); #endif @@ -98,6 +98,7 @@ extern void report_close(struct mtr_ctl *ctl) } #ifdef HAVE_IPINFO + len_tmp = len_hosts; if (ctl->ipinfo_no >= 0 && iiwidth_len) { ctl->ipinfo_no %= iiwidth_len; if (ctl->reportwide) {