diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-10-05 17:52:23 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-10-05 17:52:23 +0000 |
commit | d9d3b47d3e82c576bab834ca33e9b54312a4211b (patch) | |
tree | 520c96594081017ad9dffe73c7fa9cb8f427a85f /gtk | |
parent | 95c0bfdbb720babe94fa584065d1ab9d0b5e2d97 (diff) |
Return from sctp_stat_on_select_row() if nothing selected.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30338 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/sctp_stat_dlg.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/sctp_stat_dlg.c b/gtk/sctp_stat_dlg.c index 8ef2c301ff..f5f32731a6 100644 --- a/gtk/sctp_stat_dlg.c +++ b/gtk/sctp_stat_dlg.c @@ -88,7 +88,10 @@ sctp_stat_on_select_row(GtkTreeSelection *sel, gpointer user_data _U_) VTAG1_COLUMN, &vtag1, VTAG2_COLUMN, &vtag2, -1); - } + } else { + /* Nothing selected */ + return; + } list = g_list_first(sctp_assocs->assoc_info_list); |