diff options
author | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-23 10:09:08 +0000 |
---|---|---|
committer | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-23 10:09:08 +0000 |
commit | bf3308982ecf9cf5f2b6fd22483bd4df5ff88db8 (patch) | |
tree | e256b2bec95e742f694752078a38b949411b370a /epan/dissectors/packet-tapa.c | |
parent | 75ee9a2ea3f52c37876b5f77edbb63d8367e4dc0 (diff) |
Add missing braces.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37356 f5534014-38df-0310-8fa8-9805f1628bb7
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; } |