From 6ecbeae5a173e777f4786cb515209d044a5dc03b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 19 May 2014 05:13:58 +0200 Subject: it is probably not worth making the buffer circular MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libmdsserver/mds-message.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/libmdsserver/mds-message.h b/src/libmdsserver/mds-message.h index 72e1735..657592c 100644 --- a/src/libmdsserver/mds-message.h +++ b/src/libmdsserver/mds-message.h @@ -72,7 +72,7 @@ typedef struct mds_message /** * The number of bytes used in `buffer` (internal data) */ - size_t buffer_ptr; /* TODO: would it be better to use a circular buffer? */ + size_t buffer_ptr; /** * 0 while reading headers, 1 while reading payload, and 2 when done (internal data) -- cgit v1.2.3-70-g09d2