aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-icap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-10-20 00:41:35 -0700
committerGuy Harris <guy@alum.mit.edu>2014-10-20 07:42:37 +0000
commit9ffb72b8cf7661ea3d27aff30a4ac487f4181ede (patch)
treea987a03ee8b77d6ef3f659c6fca9b2335f0734c6 /epan/dissectors/packet-icap.c
parent80e6f6251e96dd7b8a9ab0fdbf63b03a73ef6692 (diff)
Clean up some comments.
Change-Id: Ibe96878ba9ae94f9f22a221797fb36d713286d32 Reviewed-on: https://code.wireshark.org/review/4856 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-icap.c')
-rw-r--r--epan/dissectors/packet-icap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-icap.c b/epan/dissectors/packet-icap.c
index 71fa989c41..b3367cb8f2 100644
--- a/epan/dissectors/packet-icap.c
+++ b/epan/dissectors/packet-icap.c
@@ -141,16 +141,15 @@ dissect_icap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
c = *linep++;
/*
- * This must be a CHAR, and must not be a CTL to be part
+ * 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)) {
- /* not ASCII, thus not a CHAR, or not printabe, thus a CTL */
is_icap = FALSE;
- break; /* not ASCII, thus not a CHAR, or a CTL */
+ break;
}
switch (c) {