]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
header alignment issue found&fixed by meingtsla. Fixes #164
authorR.E. Wolff <R.E.Wolff@BitWizard.nl>
Sat, 29 Oct 2016 09:50:13 +0000 (11:50 +0200)
committerR.E. Wolff <R.E.Wolff@BitWizard.nl>
Sat, 29 Oct 2016 09:50:13 +0000 (11:50 +0200)
report.c

index 8986131da7a63fe282b2a49cee20d734ebfae936..b8fbf41237904c35b5879504272aa62b721d8087 100644 (file)
--- 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) {