diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-12-28 16:18:12 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-12-29 00:20:09 +0000 |
commit | 0c156fec93e31a8d80653e0288925acf2275111e (patch) | |
tree | d0e12ca4d505160cbb3ab3f746c6f8e6b51d5d81 /epan/dissectors/packet-wsp.c | |
parent | affa8011a2fc5e8128e7d5bf46df15e8e7b491db (diff) |
There's no "old" stat_tap_table, so remove "new_" from the name.
Change-Id: I1a0349d5d9d47210a97ff7a99fb358e59fd70e72
Reviewed-on: https://code.wireshark.org/review/12896
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-wsp.c')
-rw-r--r-- | epan/dissectors/packet-wsp.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-wsp.c b/epan/dissectors/packet-wsp.c index 1669634ccb..372319b409 100644 --- a/epan/dissectors/packet-wsp.c +++ b/epan/dissectors/packet-wsp.c @@ -5564,9 +5564,9 @@ static int unknown_sc_idx; static void wsp_stat_init(new_stat_tap_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data) { int num_fields = sizeof(wsp_stat_fields)/sizeof(stat_tap_table_item); - new_stat_tap_table* pt_table = new_stat_tap_init_table("PDU Types", num_fields, 0, NULL, gui_callback, gui_data); + stat_tap_table* pt_table = new_stat_tap_init_table("PDU Types", num_fields, 0, NULL, gui_callback, gui_data); stat_tap_table_item_type pt_items[sizeof(wsp_stat_fields)/sizeof(stat_tap_table_item)]; - new_stat_tap_table* sc_table = new_stat_tap_init_table("Status Codes", num_fields, 0, NULL, gui_callback, gui_data); + stat_tap_table* sc_table = new_stat_tap_init_table("Status Codes", num_fields, 0, NULL, gui_callback, gui_data); stat_tap_table_item_type sc_items[sizeof(wsp_stat_fields)/sizeof(stat_tap_table_item)]; int table_idx; @@ -5614,13 +5614,13 @@ wsp_stat_packet(void *tapdata, packet_info *pinfo _U_, epan_dissect_t *edt _U_, { new_stat_data_t* stat_data = (new_stat_data_t*)tapdata; const wsp_info_value_t *value = (const wsp_info_value_t *)wiv_ptr; - new_stat_tap_table *pt_table, *sc_table; + stat_tap_table *pt_table, *sc_table; guint element; stat_tap_table_item_type* item_data; gboolean found; - pt_table = g_array_index(stat_data->new_stat_tap_data->tables, new_stat_tap_table*, 0); - sc_table = g_array_index(stat_data->new_stat_tap_data->tables, new_stat_tap_table*, 1); + pt_table = g_array_index(stat_data->stat_tap_data->tables, stat_tap_table*, 0); + sc_table = g_array_index(stat_data->stat_tap_data->tables, stat_tap_table*, 1); found = FALSE; for (element = 0; element < pt_table->num_elements; element++) { @@ -5658,7 +5658,7 @@ wsp_stat_packet(void *tapdata, packet_info *pinfo _U_, epan_dissect_t *edt _U_, } static void -wsp_stat_reset(new_stat_tap_table* table) +wsp_stat_reset(stat_tap_table* table) { guint element; stat_tap_table_item_type* item_data; @@ -5672,7 +5672,7 @@ wsp_stat_reset(new_stat_tap_table* table) } static void -wsp_stat_free_table_item(new_stat_tap_table* table _U_, guint row _U_, guint column, stat_tap_table_item_type* field_data) +wsp_stat_free_table_item(stat_tap_table* table _U_, guint row _U_, guint column, stat_tap_table_item_type* field_data) { if (column != MESSAGE_TYPE_COLUMN) return; g_free((char*)field_data->value.string_value); |