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
This commit is contained in:
Guy Harris 2000-09-30 05:46:27 +00:00
parent 213e7d9360
commit 807cadc059
1 changed files with 5 additions and 4 deletions

View File

@ -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");
}