diff --git a/src/adb_tcp_connection.rs b/src/adb_tcp_connection.rs index e03b113..41b4212 100644 --- a/src/adb_tcp_connection.rs +++ b/src/adb_tcp_connection.rs @@ -88,7 +88,7 @@ impl AdbTcpConnection { match AdbRequestStatus::from_str(str::from_utf8(request_status.as_ref())?)? { AdbRequestStatus::Fail => { // We can keep reading to get further details - let length = self.get_body_length()?; + let length = self.get_hex_body_length()?; let mut body = vec![ 0;