commit | a27ee6c3d3d3714c419b665da1b5bc3c34374458 | [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 | 3127b6bb5a844c6e8435ebe8f43ce625a189470e | |
parent | 2328beaf1ddf74161fc083a09512a28d26c244cd [diff] [blame] |
fix windows build Change-Id: Ia7b236f1a915630fe85d488072efb9784ba10dad
diff --git a/commandline.c b/commandline.c index b92162f..23722b6 100644 --- a/commandline.c +++ b/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;