aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/ncp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ncpd/ncp.cc')
-rw-r--r--ncpd/ncp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncpd/ncp.cc b/ncpd/ncp.cc
index e1bf96a..1a5c317 100644
--- a/ncpd/ncp.cc
+++ b/ncpd/ncp.cc
@@ -113,7 +113,7 @@ poll()
bufferArray res(l->poll());
if (!res.empty()) {
do {
- bufferStore s = res.popBuffer();
+ bufferStore s = res.pop();
if (s.getLen() > 1) {
int channel = s.getByte(0);
s.discardFirstBytes(1);