diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-12-28 16:47:52 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-12-29 00:48:29 +0000 |
commit | 63a1e4ad85c9b9ca0ae222d5e0f53ece8617a5cc (patch) | |
tree | faa4058f017b228ccfccd3268c32ffd3b3d8ff0b | |
parent | 9067ee8f5a9d986efdc2fb7da9cd8f39017af129 (diff) |
Get rid of another unnecessary new_ prefix.
Change-Id: I99522c1e5f2a4aac091cb19dd7fff450ddc2c26e
Reviewed-on: https://code.wireshark.org/review/12898
Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r-- | epan/stat_tap_ui.c | 4 | ||||
-rw-r--r-- | epan/stat_tap_ui.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/epan/stat_tap_ui.c b/epan/stat_tap_ui.c index 2d984056fe..d2428baf8a 100644 --- a/epan/stat_tap_ui.c +++ b/epan/stat_tap_ui.c @@ -163,8 +163,8 @@ void new_stat_tap_get_filter(stat_tap_table_ui* new_stat, const char *opt_arg, c } } - if (new_stat->new_stat_filter_check_cb) - new_stat->new_stat_filter_check_cb(opt_arg, filter, err); + if (new_stat->stat_filter_check_cb) + new_stat->stat_filter_check_cb(opt_arg, filter, err); } stat_tap_table* new_stat_tap_init_table(const char *name, int num_fields, int num_elements, diff --git a/epan/stat_tap_ui.h b/epan/stat_tap_ui.h index 060ad760bb..715da52999 100644 --- a/epan/stat_tap_ui.h +++ b/epan/stat_tap_ui.h @@ -143,7 +143,7 @@ typedef struct _stat_tap_table_ui { tap_packet_cb packet_func; void (* stat_tap_reset_table_cb)(stat_tap_table* table); void (* stat_tap_free_table_item_cb)(stat_tap_table* table, guint row, guint column, stat_tap_table_item_type* field_data); - void (* new_stat_filter_check_cb)(const char *opt_arg, const char **filter, char** err); /* Dissector chance to reject filter */ + void (* stat_filter_check_cb)(const char *opt_arg, const char **filter, char** err); /* Dissector chance to reject filter */ size_t nfields; /* number of fields */ stat_tap_table_item* fields; size_t nparams; /* number of parameters */ |