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:
Guy Harris 2014-10-20 00:45:26 -07:00
parent 9ffb72b8cf
commit 700bfdcba6
2 changed files with 7 additions and 6 deletions

View File

@ -893,14 +893,15 @@ dissect_http_message(tvbuff_t *tvb, int offset, packet_info *pinfo,
c = *linep++; c = *linep++;
/* /*
* This must be a CHAR, and not a CTL, to be part * This must be a CHAR, and must not be a CTL,
* of a token; that means it must be printable ASCII. * to be part of a token; that means it must
* be printable ASCII.
* *
* XXX - what about leading LWS on continuation * XXX - what about leading LWS on continuation
* lines of a header? * lines of a header?
*/ */
if (!g_ascii_isprint(c)) 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; * This mustn't be a SEP to be part of a token;

View File

@ -879,14 +879,14 @@ dissect_rtspmessage(tvbuff_t *tvb, int offset, packet_info *pinfo,
c = *linep++; c = *linep++;
/* /*
* This must be a CHAR, and not a CTL, to be part of a token; * This must be a CHAR, and mut not be a CTL, to be part
* that means it must be printable ASCII. * of a token; that means it must be printable ASCII.
* *
* XXX - what about leading LWS on continuation * XXX - what about leading LWS on continuation
* lines of a header? * lines of a header?
*/ */
if (!g_ascii_isprint(c)) if (!g_ascii_isprint(c))
break; /* not ASCII, thus not a CHAR, or a CTL */ break;
switch (c) { switch (c) {