summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/membuf.cpp2
-rw-r--r--src/stream.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/membuf.cpp b/src/membuf.cpp
index 11cc1bb..35580d3 100644
--- a/src/membuf.cpp
+++ b/src/membuf.cpp
@@ -113,7 +113,7 @@ bool Bu::MemBuf::canRead()
113 113
114bool Bu::MemBuf::canWrite() 114bool Bu::MemBuf::canWrite()
115{ 115{
116 return isEos(); 116 return true;
117} 117}
118 118
119bool Bu::MemBuf::isReadable() 119bool Bu::MemBuf::isReadable()
diff --git a/src/stream.h b/src/stream.h
index d6b914c..f0f1af3 100644
--- a/src/stream.h
+++ b/src/stream.h
@@ -105,9 +105,9 @@ namespace Bu
105 105
106 /** 106 /**
107 * In non-blocking streams this indicates if a write operation will 107 * In non-blocking streams this indicates if a write operation will
108 * succeed or fail. In some cases writing is not allowed (e.g. 108 * actually write one or more bytes. In some cases writing is not
109 * internal buffers are full) temporarilly. In blocking streams this 109 * allowed (e.g. internal buffers are full) temporarilly. In blocking
110 * should return the same value as isWritable. 110 * streams this should return the same value as isWritable.
111 */ 111 */
112 virtual bool canWrite() = 0; 112 virtual bool canWrite() = 0;
113 113