diff options
Diffstat (limited to 'package/mtr/patches/patch-report_c')
-rw-r--r-- | package/mtr/patches/patch-report_c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/package/mtr/patches/patch-report_c b/package/mtr/patches/patch-report_c deleted file mode 100644 index bbae19253..000000000 --- a/package/mtr/patches/patch-report_c +++ /dev/null @@ -1,30 +0,0 @@ -$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- mtr-0.75.orig/report.c 2008-09-18 14:40:09.000000000 +0200 -+++ mtr-0.75/report.c 2008-10-10 15:05:00.000000000 +0200 -@@ -122,7 +122,7 @@ void report_close(void) - if (j < 0) continue; - - /* 1000.0 is a temporay hack for stats usec to ms, impacted net_loss. */ -- if( index( data_fields[j].format, 'f' ) ) { -+ if( strchr( data_fields[j].format, 'f' ) ) { - snprintf( buf + len, sizeof(buf), data_fields[j].format, - data_fields[j].net_xxx(at) /1000.0 ); - } else { -@@ -201,7 +201,7 @@ void xml_close(void) - strcat(name, data_fields[j].format); - strcat(name, "</%s>\n"); - /* 1000.0 is a temporay hack for stats usec to ms, impacted net_loss. */ -- if( index( data_fields[j].format, 'f' ) ) { -+ if( strchr( data_fields[j].format, 'f' ) ) { - printf( name, - data_fields[j].title, - data_fields[j].net_xxx(at) /1000.0, -@@ -280,7 +280,7 @@ void csv_close(void) - if (j < 0) continue; - - /* 1000.0 is a temporay hack for stats usec to ms, impacted net_loss. */ -- if( index( data_fields[j].format, 'f' ) ) { -+ if( strchr( data_fields[j].format, 'f' ) ) { - printf( ", %.2f", data_fields[j].net_xxx(at) / 1000.0); - } else { - printf( ", %d", data_fields[j].net_xxx(at) ); |