aboutsummaryrefslogtreecommitdiff
path: root/adb.h
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-02-05 18:49:10 -0800
committerJosh Gao <jmgao@google.com>2018-02-21 14:30:17 -0800
commit839b932f0c28eab8ff9c1cecd3b55af27baf8439 (patch)
treea18d3410761bad64815bb238f32917f44c763c96 /adb.h
parentbbe85f7a9abcca6f86d286155705589a7ace0141 (diff)
downloadadb-839b932f0c28eab8ff9c1cecd3b55af27baf8439.tar.gz
adb: switch apacket over to a std::string payload.
Test: python test_device.py with walleye/x86_64 emulator Change-Id: I0a18941af1cb2279e5019a24ace25741def1202f
Diffstat (limited to 'adb.h')
-rw-r--r--adb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb.h b/adb.h
index c9c635a8..a6d04631 100644
--- a/adb.h
+++ b/adb.h
@@ -74,7 +74,7 @@ struct amessage {
struct apacket {
amessage msg;
- char data[MAX_PAYLOAD];
+ std::string payload;
};
uint32_t calculate_apacket_checksum(const apacket* packet);