char queue for WiFi communication
Diff: objectQueue.cpp
- Revision:
- 1:f9e6627f1f59
- Parent:
- 0:043b1271ed1b
- Child:
- 2:8f54ba4d961f
--- a/objectQueue.cpp Wed Aug 02 03:21:02 2017 +0000 +++ b/objectQueue.cpp Wed Aug 09 01:12:08 2017 +0000 @@ -92,7 +92,7 @@ if (empty) {return(0);} while ((ret = get(buffer + ret, size - total)) > 0) { buffer += ret; - total += ret; + total++; ret = 0; } lock.unlock();