aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-19 05:13:58 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-19 05:13:58 +0200
commit6ecbeae5a173e777f4786cb515209d044a5dc03b (patch)
treebaac6b980597c251965734644afcb03f0bc0cb30
parentexit cleanly on terminal interruption (sigint) (diff)
downloadmds-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 '')
-rw-r--r--src/libmdsserver/mds-message.h2
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)