More comment cleanup.
Change-Id: Ifa65c3090e204b93ec526358b863fdf9bafc6a03 Reviewed-on: https://code.wireshark.org/review/4857 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
9ffb72b8cf
commit
700bfdcba6
|
@ -893,14 +893,15 @@ dissect_http_message(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
|||
c = *linep++;
|
||||
|
||||
/*
|
||||
* This must be a CHAR, and not a CTL, to be part
|
||||
* of a token; that means it must be printable ASCII.
|
||||
* This must be a CHAR, and must not be a CTL,
|
||||
* to be part of a token; that means it must
|
||||
* be printable ASCII.
|
||||
*
|
||||
* XXX - what about leading LWS on continuation
|
||||
* lines of a header?
|
||||
*/
|
||||
if (!g_ascii_isprint(c))
|
||||
break; /* not ASCII, thus not a CHAR, or a CTL */
|
||||
break;
|
||||
|
||||
/*
|
||||
* This mustn't be a SEP to be part of a token;
|
||||
|
|
|
@ -879,14 +879,14 @@ dissect_rtspmessage(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
|||
c = *linep++;
|
||||
|
||||
/*
|
||||
* This must be a CHAR, and not a CTL, to be part of a token;
|
||||
* that means it must be printable ASCII.
|
||||
* This must be a CHAR, and mut not be a CTL, to be part
|
||||
* of a token; that means it must be printable ASCII.
|
||||
*
|
||||
* XXX - what about leading LWS on continuation
|
||||
* lines of a header?
|
||||
*/
|
||||
if (!g_ascii_isprint(c))
|
||||
break; /* not ASCII, thus not a CHAR, or a CTL */
|
||||
break;
|
||||
|
||||
switch (c) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue