diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-09-30 05:46:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-09-30 05:46:27 +0000 |
commit | 807cadc059cecb8223877b3d32aec21157635610 (patch) | |
tree | 83ce42899b89a00e8973a06e0c1f28cf948ebf3b /packet-rtsp.c | |
parent | 213e7d9360fd519f86f2e205b8a1eb4377c557bd (diff) | |
download | wireshark-807cadc059cecb8223877b3d32aec21157635610.tar.gz wireshark-807cadc059cecb8223877b3d32aec21157635610.tar.bz2 wireshark-807cadc059cecb8223877b3d32aec21157635610.zip |
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.c | 9 |
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"); } |