am 8d35442b: Merge "fix windows build"
* commit '8d35442b18e9dddfdde89c81e0cc910c70a12202': fix windows build
This commit is contained in:
commit
46679c1dce
1 changed files with 1 additions and 1 deletions
|
|
@ -551,7 +551,7 @@ int adb_sideload_host(const char* fn) {
|
||||||
opt = setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (const void *) &opt, sizeof(opt));
|
opt = setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (const void *) &opt, sizeof(opt));
|
||||||
|
|
||||||
int last_percent = -1;
|
int last_percent = -1;
|
||||||
while (true) {
|
for (;;) {
|
||||||
if (readx(fd, buf, 8)) {
|
if (readx(fd, buf, 8)) {
|
||||||
fprintf(stderr, "* failed to read command: %s\n", adb_error());
|
fprintf(stderr, "* failed to read command: %s\n", adb_error());
|
||||||
status = -1;
|
status = -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue