summaryrefslogtreecommitdiffstats
path: root/adb/adb.c
diff options
context:
space:
mode:
Diffstat (limited to 'adb/adb.c')
-rw-r--r--adb/adb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/adb/adb.c b/adb/adb.c
index d9f96df..0da7218 100644
--- a/adb/adb.c
+++ b/adb/adb.c
@@ -302,8 +302,10 @@ void handle_packet(apacket *p, atransport *t)
{
asocket *s;
- D("handle_packet() %d\n", p->msg.command);
-
+ D("handle_packet() %c%c%c%c\n", ((char*) (&(p->msg.command)))[0],
+ ((char*) (&(p->msg.command)))[1],
+ ((char*) (&(p->msg.command)))[2],
+ ((char*) (&(p->msg.command)))[3]);
print_packet("recv", p);
switch(p->msg.command){