aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2011-03-22 12:40:18 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2011-03-22 12:40:24 +0200
commit633d0d38daafad0f9a439bc2f2d7f8e632b87161 (patch)
tree7764b6e9b41bd184c764d181cb3b8c3ff397abb8
parent3f680f314b400829e9505ef02cd6e5384514c4de (diff)
downloadbluez-hcidump-633d0d38daafad0f9a439bc2f2d7f8e632b87161.tar.gz
Minor coding style fixes to ATT parser code
-rw-r--r--parser/att.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/parser/att.c b/parser/att.c
index 329a0dc..7b8b83c 100644
--- a/parser/att.c
+++ b/parser/att.c
@@ -341,9 +341,8 @@ static void att_find_by_type_req_dump(int level, struct frame *frm)
p_indent(level, frm);
printf("value");
- while (frm->len > 0) {
+ while (frm->len > 0)
printf(" 0x%2.2x", get_u8(frm));
- }
printf("\n");
}
@@ -429,9 +428,8 @@ static void att_read_blob_resp_dump(int level, struct frame *frm)
p_indent(level, frm);
printf("value");
- while (frm->len > 0) {
+ while (frm->len > 0)
printf(" 0x%2.2x", get_u8(frm));
- }
printf("\n");
}
@@ -451,9 +449,8 @@ static void att_read_multi_resp_dump(int level, struct frame *frm)
p_indent(level, frm);
printf("values");
- while (frm->len > 0) {
+ while (frm->len > 0)
printf(" 0x%2.2x", get_u8(frm));
- }
printf("\n");
}
@@ -488,9 +485,8 @@ static void att_handle_notify_dump(int level, struct frame *frm)
p_indent(level, frm);
printf("value ");
- while (frm->len > 0) {
+ while (frm->len > 0)
printf("0x%.2x ", get_u8(frm));
- }
printf("\n");
}