commit | 8c46b10a1af7151f9453651f9e6def0237a6f7d8 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Wed Aug 18 12:38:03 2010 -0700 |
committer | Jason Sams <rjsams@android.com> | Wed Aug 18 12:38:03 2010 -0700 |
tree | a4665f303fef2e648aa39f018e8a7c870012ea87 | |
parent | f47eec31a9112daead78cfb8ebbda2c3372f4892 [diff] [blame] |
Fix bug looping non-blocking fifos. Change-Id: I33dcf575466bfef672af4e113ad692397b5213e9
diff --git a/rsContext.cpp b/rsContext.cpp index 1a7c5ad..08dd57b 100644 --- a/rsContext.cpp +++ b/rsContext.cpp
@@ -744,7 +744,7 @@ return false; } if (!waitForSpace) { - if (mIO.mToClient.getFreeSpace() <= (len + 8)) { + if (!mIO.mToClient.makeSpaceNonBlocking(len + 8)) { // Not enough room, and not waiting. return false; }