diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-02-22 14:13:26 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-02-22 14:19:08 +0100 |
commit | d4109fcfb8cc42c6e5a22818fdcf98ae57854987 (patch) | |
tree | be38dff81acd1b8393c64a0922ba53915b932293 /package/mtr/patches/patch-curses_c | |
parent | c167a7e8bb73bc2ca704f7f2f68ec7f1a9d7e610 (diff) |
mtr: update to 0.95
Diffstat (limited to 'package/mtr/patches/patch-curses_c')
-rw-r--r-- | package/mtr/patches/patch-curses_c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/package/mtr/patches/patch-curses_c b/package/mtr/patches/patch-curses_c deleted file mode 100644 index 2e04bd4ce..000000000 --- a/package/mtr/patches/patch-curses_c +++ /dev/null @@ -1,21 +0,0 @@ -$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- mtr-0.75.orig/curses.c 2008-08-19 18:55:48.000000000 +0200 -+++ mtr-0.75/curses.c 2008-10-10 15:04:37.000000000 +0200 -@@ -241,7 +241,7 @@ int mtr_curses_keyaction(void) - return ActionNone; - } - if (tolower(c) == 'j') { -- if( index(fld_active, 'N') ) { -+ if( strchr(fld_active, 'N') ) { - strcpy(fld_active, "DR AGJMXI"); /* GeoMean and jitter */ - } else { - strcpy(fld_active, "LS NABWV"); /* default */ -@@ -328,7 +328,7 @@ void mtr_curses_hosts(int startstat) - if (j == -1) continue; - - /* temporay hack for stats usec to ms... */ -- if( index( data_fields[j].format, 'f' ) ) { -+ if( strchr( data_fields[j].format, 'f' ) ) { - sprintf(buf + hd_len, data_fields[j].format, - data_fields[j].net_xxx(at) /1000.0 ); - } else { |