forked from osmocom/wireshark
Trivial: use consistent indentation; reformat a long line.
svn path=/trunk/; revision=45288
This commit is contained in:
parent
68aeb27b90
commit
ac6e9cbb8b
|
@ -25,13 +25,14 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <wiretap/wtap.h>
|
||||
#include <epan/frame_data.h>
|
||||
#include <epan/packet.h>
|
||||
#include <epan/emem.h>
|
||||
#include <epan/timestamp.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
/* Protocol-specific data attached to a frame_data structure - protocol
|
||||
index and opaque pointer. */
|
||||
|
@ -43,7 +44,8 @@ typedef struct _frame_proto_data {
|
|||
/* XXX - I declared this static, because it only seems to be used by
|
||||
* p_get_proto_data and p_add_proto_data
|
||||
*/
|
||||
static gint p_compare(gconstpointer a, gconstpointer b)
|
||||
static gint
|
||||
p_compare(gconstpointer a, gconstpointer b)
|
||||
{
|
||||
const frame_proto_data *ap = (const frame_proto_data *)a;
|
||||
const frame_proto_data *bp = (const frame_proto_data *)b;
|
||||
|
@ -319,7 +321,8 @@ frame_data_cleanup(frame_data *fdata)
|
|||
}
|
||||
|
||||
/* XXX, frame_data_cleanup() is called when redissecting (rescan_packets()),
|
||||
* which might be triggered by lot of things, like: preferences change, setting manual address resolve, etc.. (grep by redissect_packets)
|
||||
* which might be triggered by lot of things, like: preferences change,
|
||||
* setting manual address resolve, etc.. (grep by redissect_packets)
|
||||
* fdata->opt_comment can be set by user, which we must not discard when redissecting.
|
||||
*/
|
||||
#if 0
|
||||
|
|
Loading…
Reference in New Issue