aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-01-03 03:46:36 +0000
committerGuy Harris <guy@alum.mit.edu>2000-01-03 03:46:36 +0000
commit04e20bf4cd34fd3587e48e93acad8e0e9ea21d4c (patch)
treeb4dc19458df1d5a9d8eb084b64f509b31e3ade8a /Makefile.am
parentd6c6aecdba0990128aeb8a047322e12b539c1bca (diff)
Fix a nasty side-effect of running the packet list in
GTK_SELECTION_BROWSE mode - that mode apparently always arranges that there is (in a non-empty GtkCList) one row selected, which means that when the first row is added, it selects it. Unfortunately, that causes a "select-row" signal to be emitted, which causes "select_packet()" to be called - but we haven't yet set "fd->row" for the frame we're adding, so "select_packet()" can't find the frame for the row being selected, and it aborts. This causes a core dump when the first packet arrives during an "Update list of packets in real time" capture. For now, we handle this by, if we don't find the frame with the given row number, checking that there's exactly one frame in our list of frames and, if so, saying that frame is the frame for which we're looking. svn path=/trunk/; revision=1409
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions