diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-19 05:13:58 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-19 05:13:58 +0200 |
commit | 6ecbeae5a173e777f4786cb515209d044a5dc03b (patch) | |
tree | baac6b980597c251965734644afcb03f0bc0cb30 /src/libmdsserver | |
parent | exit cleanly on terminal interruption (sigint) (diff) | |
download | mds-6ecbeae5a173e777f4786cb515209d044a5dc03b.tar.gz mds-6ecbeae5a173e777f4786cb515209d044a5dc03b.tar.bz2 mds-6ecbeae5a173e777f4786cb515209d044a5dc03b.tar.xz |
it is probably not worth making the buffer circular
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libmdsserver')
-rw-r--r-- | src/libmdsserver/mds-message.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |