aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/ansi_map_stat.c4
-rw-r--r--gtk/isup_stat.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gtk/ansi_map_stat.c b/gtk/ansi_map_stat.c
index 87bd7212ac..de3f696bc3 100644
--- a/gtk/ansi_map_stat.c
+++ b/gtk/ansi_map_stat.c
@@ -5,7 +5,7 @@
*
* MUCH code modified from service_response_time_table.c.
*
- * $Id: ansi_map_stat.c,v 1.9 2004/01/07 01:44:23 jmayer Exp $
+ * $Id: ansi_map_stat.c,v 1.10 2004/01/11 10:02:39 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -100,6 +100,7 @@ ansi_map_stat_packet(
tapdata = tapdata;
pinfo = pinfo;
+#if 0 /* always false because message_type is 8 bit value */
if (data_p->message_type >= N_MESSAGE_TYPES)
{
/*
@@ -107,6 +108,7 @@ ansi_map_stat_packet(
*/
return(0);
}
+#endif
stat.message_type[data_p->message_type]++;
diff --git a/gtk/isup_stat.c b/gtk/isup_stat.c
index 5c50e7ee06..4857d7eaa2 100644
--- a/gtk/isup_stat.c
+++ b/gtk/isup_stat.c
@@ -5,7 +5,7 @@
*
* MUCH code modified from service_response_time_table.c.
*
- * $Id: isup_stat.c,v 1.9 2004/01/07 01:44:23 jmayer Exp $
+ * $Id: isup_stat.c,v 1.10 2004/01/11 10:02:39 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -101,6 +101,7 @@ isup_stat_packet(
tapdata = tapdata;
pinfo = pinfo;
+#if 0 /* always false because message_type is 8 bit value */
if (data_p->message_type >= N_MESSAGE_TYPES)
{
/*
@@ -108,6 +109,7 @@ isup_stat_packet(
*/
return(0);
}
+#endif
stat.message_type[data_p->message_type]++;