File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mtr / pp
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Oct 21 14:25:31 2019 UTC (4 years, 7 months ago) by misho
Branches: mtr, MAIN
CVS tags: v0_92, HEAD
mtr ver 0.92

    1: diff --git a/report.c b/report.c
    2: index badb765..d6752eb 100644
    3: --- a/report.c
    4: +++ b/report.c
    5: @@ -294,7 +294,7 @@ void xml_close(void)
    6:      printf("    <HUB COUNT=\"%d\" HOST=\"%s\">\n", at+1, name);
    7:      for( i=0; i<MAXFLD; i++ ) {
    8:        j = fld_index[fld_active[i]];
    9: -      if (j < 0) continue;
   10: +      if (j <= 0) continue; // Field nr 0, " " shouldn't be printed in this method. 
   11:  
   12:        strcpy(name, "        <%s>");
   13:        strcat(name, data_fields[j].format);

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>