aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-slsk.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-10-31 09:29:07 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-10-31 09:29:07 +0000
commit2d1bb39121cf739517b55c68a84e5d9ad5b31619 (patch)
treefff9b9d1a5f7445ca000040fe0c8399298acbac8 /epan/dissectors/packet-slsk.c
parent4343de3513f4a1405f06ca9bdf82c134ac10594e (diff)
change the signature for the get_pdu_len() function pointer passed to tcp_dissect_pdus() to also include a packet_info pointer.
there are many reasons why some protocols actually need to be able to access the pinfo structure while determining the pdu size svn path=/trunk/; revision=19751
Diffstat (limited to 'epan/dissectors/packet-slsk.c')
-rw-r--r--epan/dissectors/packet-slsk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-slsk.c b/epan/dissectors/packet-slsk.c
index d3073de549..67c7063865 100644
--- a/epan/dissectors/packet-slsk.c
+++ b/epan/dissectors/packet-slsk.c
@@ -294,7 +294,7 @@ static const char* get_message_type(tvbuff_t *tvb) {
return message_type;
}
-static guint get_slsk_pdu_len(tvbuff_t *tvb, int offset)
+static guint get_slsk_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
{
guint32 msg_len;
msg_len = tvb_get_letohl(tvb, offset);