Fix bug in script groups.
Links from output to field would fail due to the field not
getting uptated if it was uninitialized.
Change-Id: Ib3939f9bdca2c31957a9609a20175192bf52561c
diff --git a/rsFifoSocket.cpp b/rsFifoSocket.cpp
index bd511cf..44379b2 100644
--- a/rsFifoSocket.cpp
+++ b/rsFifoSocket.cpp
@@ -57,8 +57,10 @@
}
//ALOGE("writeAsync %p %i", data, bytes);
size_t ret = ::send(sv[0], data, bytes, 0);
- //ALOGE("writeAsync ret %i", ret);
rsAssert(ret == bytes);
+ if (ret != bytes) {
+ ALOGE("writeAsync %p %zu ret %zu", data, bytes, ret);
+ }
return true;
}