commit | 8d35442b18e9dddfdde89c81e0cc910c70a12202 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@android.com> | Tue Sep 16 18:00:47 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Sep 16 18:00:47 2014 +0000 |
tree | d36ec73970671cf730f6314bf1c46bca10dd9616 | |
parent | d372c5c36510b99254b031d3fd5958e246a85544 [diff] | |
parent | edda73d0c8aa52500199ed17781b9a9e83b1dfa7 [diff] |
Merge "fix windows build"
diff --git a/adb/commandline.c b/adb/commandline.c index 3393655..f4c2272 100644 --- a/adb/commandline.c +++ b/adb/commandline.c
@@ -551,7 +551,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;