diff options
Diffstat (limited to 'epan/dissectors/packet-tapa.c')
-rw-r--r-- | epan/dissectors/packet-tapa.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tapa.c b/epan/dissectors/packet-tapa.c index 974a91fe5e..68d3d7f1bb 100644 --- a/epan/dissectors/packet-tapa.c +++ b/epan/dissectors/packet-tapa.c @@ -138,10 +138,12 @@ check_ascii(tvbuff_t *tvb, gint offset, gint length) gint i; guint8 buf; - for (i = 0; i < length; i++) + for (i = 0; i < length; i++) { buf = tvb_get_guint8(tvb, offset+i); - if (buf < 0x20 || buf >= 0x80) + if (buf < 0x20 || buf >= 0x80) { return FALSE; + } + } return TRUE; } |