aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rtsp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-09-30 05:46:27 +0000
committerGuy Harris <guy@alum.mit.edu>2000-09-30 05:46:27 +0000
commit807cadc059cecb8223877b3d32aec21157635610 (patch)
tree83ce42899b89a00e8973a06e0c1f28cf948ebf3b /packet-rtsp.c
parent213e7d9360fd519f86f2e205b8a1eb4377c557bd (diff)
Don't put any "\r" and/or "\n" at the end of an RTSP request or reply
into the "Info" column. svn path=/trunk/; revision=2470
Diffstat (limited to 'packet-rtsp.c')
-rw-r--r--packet-rtsp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/packet-rtsp.c b/packet-rtsp.c
index 46e7960f2a..257c4c3207 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.18 2000/09/11 16:16:03 gram Exp $
+ * $Id: packet-rtsp.c,v 1.19 2000/09/30 05:46:27 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -172,9 +172,10 @@ static void dissect_rtsp(const u_char *pd, int offset, frame_data *fd,
lineend = find_line_end(data, dataend, &eol);
linelen = lineend - data;
if (process_rtsp_request_or_reply(data, offset, linelen,
- rtsp_tree))
- col_add_str(fd, COL_INFO, format_text(data, linelen));
- else
+ rtsp_tree)) {
+ col_add_str(fd, COL_INFO,
+ format_text(data, eol - data));
+ } else
col_add_str(fd, COL_INFO, "Continuation");
}