Use local variable, local one is also used later by epan_dissect_run().

svn path=/trunk/; revision=45605
This commit is contained in:
Jakub Zawadzki 2012-10-16 22:44:28 +00:00
parent 80d377d4f2
commit 73b3d42302

View file

@ -174,7 +174,7 @@ QVariant PacketListModel::data(const QModelIndex &index, int role) const
else
cinfo = NULL;
if (!cf_read_frame_r(cf, fdata, &cf->phdr, pd)) {
if (!cf_read_frame_r(cf, fdata, &phdr, pd)) {
/*
* Error reading the frame.
*