aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sdp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-11-09 02:42:33 +0000
committerGuy Harris <guy@alum.mit.edu>2000-11-09 02:42:33 +0000
commit37ec8b1b32426eee1c2c6ce002e1bb89b9fc38ce (patch)
treee1304cd14f053fb6556260629a771ab550b8e301 /packet-sdp.c
parentb913b923541346f2dfa6ad25f32a8c432b143360 (diff)
Support for embedded newlines in SDP fields, from Robert Tsai.
svn path=/trunk/; revision=2584
Diffstat (limited to 'packet-sdp.c')
-rw-r--r--packet-sdp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-sdp.c b/packet-sdp.c
index edb6a127df..c673b3db9a 100644
--- a/packet-sdp.c
+++ b/packet-sdp.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-sdp.c,v 1.10 2000/09/11 16:16:03 gram Exp $
+ * $Id: packet-sdp.c,v 1.11 2000/11/09 02:42:31 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -75,7 +75,8 @@ void dissect_sdp(const u_char *pd, int offset, frame_data *fd,
if (!tree)
return;
- ti = proto_tree_add_item(tree, proto_sdp, NullTVB, offset, END_OF_FRAME, FALSE);
+ ti = proto_tree_add_item(tree, proto_sdp, NullTVB, offset,
+ END_OF_FRAME, FALSE);
sdp_tree = proto_item_add_subtree(ti, ett_sdp);
section = 0;
@@ -83,7 +84,7 @@ void dissect_sdp(const u_char *pd, int offset, frame_data *fd,
/*
* Find the end of the line.
*/
- lineend = find_line_end(data, dataend, &eol);
+ lineend = find_line_end_unquoted(data, dataend, &eol);
linelen = lineend - data;
/*