Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

fixing adb mode #51

Closed
wants to merge 1 commit into from

2 participants

@ztNFny

actually start the adb shell

@ztNFny ztNFny Update adb.c
actually start the adb shell
27d2c1b
@FauxFaux
Owner

Merged.

@FauxFaux FauxFaux closed this
@FauxFaux FauxFaux referenced this pull request from a commit
@ztNFny ztNFny gh-51: Fix adb shell for empty host name as well
previous one only fixed it for device id being given
75f9d87
@FauxFaux FauxFaux referenced this pull request from a commit
@ztNFny ztNFny gh-51: Fix adb shell for empty host name as well
previous one only fixed it for device id being given
19c4afb
@FauxFaux FauxFaux referenced this pull request from a commit
@ztNFny ztNFny gh-51: Fix adb shell for empty host name as well
previous one only fixed it for device id being given
d3705d0
@FauxFaux FauxFaux referenced this pull request from a commit
@ztNFny ztNFny gh-51: Fix adb shell for empty host name as well
previous one only fixed it for device id being given
52a6192
@FauxFaux FauxFaux referenced this pull request from a commit
@ztNFny ztNFny gh-51: Fix adb shell for empty host name as well
previous one only fixed it for device id being given
e9267eb
@FauxFaux FauxFaux referenced this pull request from a commit
@ztNFny ztNFny gh-51: Fix adb shell for empty host name as well
previous one only fixed it for device id being given
61c9d95
@FauxFaux FauxFaux referenced this pull request from a commit
@ztNFny ztNFny gh-51: Fix adb shell for empty host name as well
previous one only fixed it for device id being given
50ad152
@FauxFaux FauxFaux referenced this pull request from a commit
@ztNFny ztNFny gh-51: Fix adb shell for empty host name as well
previous one only fixed it for device id being given
689d9b3
@FauxFaux FauxFaux referenced this pull request from a commit
@ztNFny ztNFny gh-51: Fix adb shell for empty host name as well
previous one only fixed it for device id being given
76e4a04
@FauxFaux FauxFaux referenced this pull request from a commit
@ztNFny ztNFny gh-51: Fix adb shell for empty host name as well
previous one only fixed it for device id being given
2202ef3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 9, 2012
  1. @ztNFny

    Update adb.c

    ztNFny authored
    actually start the adb shell
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  adb.c
View
2  adb.c
@@ -208,6 +208,8 @@ static const char *adb_init(void *frontend_handle, void **backend_handle,
sprintf(sendbuf,"%04x" ADB_SHELL_SERIAL_PREFIX, len+ADB_SHELL_SERIAL_PREFIX_LEN);
memcpy(sendbuf+4+ADB_SHELL_SERIAL_PREFIX_LEN, host, len);
sk_write(adb->s,sendbuf,len+4+ADB_SHELL_SERIAL_PREFIX_LEN);
+ sk_flush(adb->s);
+ adb->state = 1;
}
} while (0);
return NULL;
Something went wrong with that request. Please try again.