aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rtsp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-01-11 20:14:24 +0000
committerGuy Harris <guy@alum.mit.edu>2001-01-11 20:14:24 +0000
commitb3d7fff9b4e5c30bd60bb3d9093ee5a3eac98e60 (patch)
treed4990910f87861e12f5de12c72200a95bbd89a5f /packet-rtsp.c
parentd6fed4ef58d983ddce45158492d2aaa1a793329c (diff)
Some cleanups.
svn path=/trunk/; revision=2880
Diffstat (limited to 'packet-rtsp.c')
-rw-r--r--packet-rtsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-rtsp.c b/packet-rtsp.c
index a65d4c7411..d82f2ed382 100644
--- a/packet-rtsp.c
+++ b/packet-rtsp.c
@@ -4,7 +4,7 @@
* Jason Lango <jal@netapp.com>
* Liberally copied from packet-http.c, by Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-rtsp.c,v 1.33 2001/01/11 19:30:45 guy Exp $
+ * $Id: packet-rtsp.c,v 1.34 2001/01/11 20:14:24 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -71,7 +71,7 @@ dissect_rtspinterleaved(tvbuff_t *tvb, int offset, packet_info *pinfo,
{
proto_tree *rtspframe_tree;
proto_item *ti;
- int orig_offset, len;
+ int orig_offset;
guint8 rf_start; /* always RTSP_FRAMEHDR */
guint8 rf_chan; /* interleaved channel id */
guint16 rf_len; /* packet length */
@@ -95,6 +95,7 @@ dissect_rtspinterleaved(tvbuff_t *tvb, int offset, packet_info *pinfo,
*/
return -1;
}
+
ti = proto_tree_add_text(tree, tvb, offset, 4,
"RTSP Interleaved Frame, Channel: 0x%02x, %u bytes",
rf_chan, rf_len);
@@ -110,7 +111,6 @@ dissect_rtspinterleaved(tvbuff_t *tvb, int offset, packet_info *pinfo,
rf_chan);
offset += 1;
- len = 2;
proto_tree_add_text(rtspframe_tree, tvb, offset, 2,
"Length: %u bytes",
rf_len);