--- a/src/Network/Buffer.hh Fri Jan 16 21:24:45 2009 +0200
+++ b/src/Network/Buffer.hh Fri Jan 16 22:03:49 2009 +0200
@@ -224,7 +224,7 @@
/*
* NetworkBufferInput template method implementation
*/
-template <typename PrefixType> bool NetworkBufferOutput::peek_data (PrefixType &prefix, char *&buf_ref) {
+template <typename PrefixType> bool NetworkBufferInput::peek_data (PrefixType &prefix, char *&buf_ref) {
size_t missing = 0;
do {
@@ -261,7 +261,7 @@
return true;
}
-template <typename PrefixType> void NetworkBufferOutput::flush_data (void) {
+template <typename PrefixType> void NetworkBufferInput::flush_data (void) {
PrefixType prefix;
// we *must* have a valid prefix