From 6cd6074ab4fb5e6d59e537adf8759df89c1a99b2 Mon Sep 17 00:00:00 2001 From: Gregor Maier Date: Thu, 9 Jun 2011 16:34:25 -0700 Subject: [PATCH] clarifying a comment --- src/RPC.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/RPC.h b/src/RPC.h index a319ebd0a3..7ed645a24f 100644 --- a/src/RPC.h +++ b/src/RPC.h @@ -160,8 +160,9 @@ public: // (which means that we will truncate the message). bool AddToExpected(int64_t delta) { expected += delta; return !(expected>maxsize); } - // Consume a chunk of data. data and len will be adjustes accordingly. - // Returns true if we "exptected" bytes have been processed, i.e., returns + // Consume a chunk of input data (pointed to by data, up len in size). + // data and len will be adjustes accordingly. + // Returns true if "exptected" bytes have been processed, i.e., returns // true when we don't expect any more data. bool ConsumeChunk(const u_char*& data, int& len);