diff options
-rw-r--r-- | epan/dissectors/packet-icap.c | 5 |
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) { |