Merge "Track name change from adb_main to adb_server_main."

am: ee5c87eea7

* commit 'ee5c87eea737e47ab38e19625a32ac2fc0057ddd':
  Track name change from adb_main to adb_server_main.
This commit is contained in:
Elliott Hughes
2015-11-20 21:14:27 +00:00
committed by android-build-merger
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@
#include "adb_auth.h"
#include "transport.h"
int adb_main(int is_daemon, int server_port, int /* reply_fd */) {
int adb_server_main(int is_daemon, int server_port, int /* reply_fd */) {
adb_device_banner = "sideload";
signal(SIGPIPE, SIG_IGN);

View File

@@ -1015,7 +1015,7 @@ main(int argc, char **argv) {
// only way recovery should be run with this argument is when it
// starts a copy of itself from the apply_from_adb() function.
if (argc == 2 && strcmp(argv[1], "--adbd") == 0) {
adb_main(0, DEFAULT_ADB_PORT, -1);
adb_server_main(0, DEFAULT_ADB_PORT, -1);
return 0;
}