| Index: tools/android/forwarder2/command.cc
|
| diff --git a/tools/android/forwarder2/command.cc b/tools/android/forwarder2/command.cc
|
| index 8e1dc7b3880c9a880be6677ac2e2a689b7012235..e88960b0ade58044212665fbd8da2c6856e00a96 100644
|
| --- a/tools/android/forwarder2/command.cc
|
| +++ b/tools/android/forwarder2/command.cc
|
| @@ -104,7 +104,7 @@ bool ReceivedCommandWithTimeout(command::Type command,
|
| int timeout_secs) {
|
| int port;
|
| command::Type received_command;
|
| - if (!ReadCommand(socket, &port, &received_command))
|
| + if (!ReadCommandWithTimeout(socket, &port, &received_command, timeout_secs))
|
| return false;
|
| return received_command == command;
|
| }
|
|
|