commit | 4b39c6aca973470812caf4f7911b494c891e0c3a | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@google.com> | Mon Jul 07 15:28:43 2014 -0700 |
committer | Doug Zongker <dougz@google.com> | Mon Jul 07 15:28:58 2014 -0700 |
tree | aad344fe662845b221c8eb365162e3d111485c2f | |
parent | 6d6a898b0c4e0283569209ba74bd7dbf49da73a2 [diff] |
fix windows build Change-Id: Ia7b236f1a915630fe85d488072efb9784ba10dad
diff --git a/adb/commandline.c b/adb/commandline.c index b92162f..23722b6 100644 --- a/adb/commandline.c +++ b/adb/commandline.c
@@ -552,7 +552,7 @@ opt = setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (const void *) &opt, sizeof(opt)); int last_percent = -1; - while (true) { + for (;;) { if (readx(fd, buf, 8)) { fprintf(stderr, "* failed to read command: %s\n", adb_error()); status = -1;