aboutsummaryrefslogtreecommitdiffstats
path: root/color_filters.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-06 06:07:53 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-06 06:07:53 +0000
commit5c51aacb2165e8154c318d0cae70c50a86ffe59d (patch)
tree3ec72a3bd7c7b8a290e9e2a064d99e8b2cbbf470 /color_filters.c
parent2ab0685d8a7de5b310ddc5a3146abd48948ff721 (diff)
Add NEW_PACKET_LIST guard to color_filters_colorize_packet()
svn path=/trunk/; revision=29729
Diffstat (limited to 'color_filters.c')
-rw-r--r--color_filters.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/color_filters.c b/color_filters.c
index eee30e172c..28297e198b 100644
--- a/color_filters.c
+++ b/color_filters.c
@@ -439,10 +439,14 @@ color_filters_prime_edt(epan_dissect_t *edt)
}
/* Colorize a single packet of the packet list (old packet list)
- * (row is only _U_ for the NEW_PACKET_LIST case
+ *
* Return the color_t for later use (new packet list) */
color_filter_t *
-color_filters_colorize_packet(gint row _U_, epan_dissect_t *edt)
+#ifdef NEW_PACKET_LIST
+color_filters_colorize_packet(epan_dissect_t *edt)
+#else
+color_filters_colorize_packet(gint row, epan_dissect_t *edt)
+#endif
{
GSList *curr;
color_filter_t *colorf;