diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-04-18 04:13:50 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2007-04-18 04:13:50 +0000 |
commit | bc1a33021c8161122c20cd1d2330164c7dcc6736 (patch) | |
tree | ca14311a6b2cf885b43d51a51ab8c27f4e8df56b /epan/dissectors/packet-dtls.c | |
parent | fc2e2a7c3ba9f4ba1cd691437155d2f83ea6708d (diff) |
Pass NULL (instead of proto_) in the last parameter of tap_queue_packet()
because NULL is just as interesting as the proto_ entry and the latter
generates a compiler warning.
svn path=/trunk/; revision=21460
Diffstat (limited to 'epan/dissectors/packet-dtls.c')
-rw-r--r-- | epan/dissectors/packet-dtls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dtls.c b/epan/dissectors/packet-dtls.c index a5a489325c..c5d6d7aeeb 100644 --- a/epan/dissectors/packet-dtls.c +++ b/epan/dissectors/packet-dtls.c @@ -430,7 +430,8 @@ dissect_dtls(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* set up for next record in frame, if any */ first_record_in_frame = FALSE; } - tap_queue_packet(dtls_tap, pinfo, (gpointer)proto_dtls); + + tap_queue_packet(dtls_tap, pinfo, NULL); } static gint |