Revert "First attempt on getting rid of the socket server"

This reverts commit 91d37082ab.
This commit is contained in:
Simon Fels 2016-11-18 12:53:43 +01:00
commit a6e26f46d6
17 changed files with 162 additions and 253 deletions

View file

@ -21,8 +21,6 @@
#include "ErrorLog.h"
#include "anbox/logger.h"
class IOStream {
public:
@ -72,7 +70,7 @@ public:
}
int flush() {
DEBUG("buf %p free %d buf size %d", m_buf, m_free, m_bufsize);
if (!m_buf || m_free == m_bufsize) return 0;
int stat = commitBuffer(m_bufsize - m_free);