aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/gsm_a_stat.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-01-14 20:27:34 +0000
committerGuy Harris <guy@alum.mit.edu>2005-01-14 20:27:34 +0000
commitfd6f84b46dcad8664f180830b9951f72a255f41e (patch)
tree8a15744456a755d2caa005548a9828564b26f058 /gtk/gsm_a_stat.c
parent766b213ed682731b366a744093923539ef0f49db (diff)
From Laurent Rabret: handle the cases where there's no capture file, or
there is but it has no packets. svn path=/trunk/; revision=13041
Diffstat (limited to 'gtk/gsm_a_stat.c')
-rw-r--r--gtk/gsm_a_stat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gsm_a_stat.c b/gtk/gsm_a_stat.c
index b39ba53e1a..b45d2a93d5 100644
--- a/gtk/gsm_a_stat.c
+++ b/gtk/gsm_a_stat.c
@@ -195,6 +195,8 @@ gsm_a_stat_draw(
{
gsm_a_stat_t *stat_p = tapdata;
+ if (!tapdata) return;
+
if (dlg_bssmap.win != NULL)
{
gsm_a_stat_draw_aux(&dlg_bssmap,