summaryrefslogtreecommitdiff
path: root/lib/Buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Buffer.cc')
-rw-r--r--lib/Buffer.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Buffer.cc b/lib/Buffer.cc
index 061064c..414d97c 100644
--- a/lib/Buffer.cc
+++ b/lib/Buffer.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Buffer.cc,v 1.20 2003-12-04 04:09:02 pixel Exp $ */
+/* $Id: Buffer.cc,v 1.21 2003-12-10 02:59:31 pixel Exp $ */
#include <string.h>
#ifdef HAVE_CONFIG_H
@@ -88,7 +88,10 @@ bool Buffer::CanWrite() const {
}
String Buffer::GetName() const {
- return "Buffer";
+ if (seekable)
+ return "Buffer";
+ else
+ return "Fifo";
}
Buffer Buffer::operator=(const Buffer & b) {