Thread (10 messages) flat view 10 messages, 4 authors, 2011-03-24
STALE5619d

[PATCH 5/5] Fix handle formatting for ATT Handle Notify

From: Andre Dieb Martins <hidden>
Date: 2011-03-23 14:46:41
Subsystem: the rest · Maintainer: Linus Torvalds

---
 parser/att.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/parser/att.c b/parser/att.c
index 4141f99..5e589c4 100644
--- a/parser/att.c
+++ b/parser/att.c
@@ -512,7 +512,7 @@ static inline void att_handle_notify_dump(int level, struct frame *frm)
 	uint16_t handle = btohs(htons(get_u16(frm)));
 
 	p_indent(level, frm);
-	printf("handle 0x%2.2x\n", handle);
+	printf("handle 0x%4.4x\n", handle);
 
 	p_indent(level, frm);
 	printf("value ");
-- 
1.7.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help