aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/mds-message.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-28 17:50:53 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-28 17:50:53 +0200
commit2bf33c2657c3ea07f473510e4c6ceb369bf6d32d (patch)
tree3a7529dc96e5652b827e562089d2c4b9adb8e395 /src/libmdsserver/mds-message.h
parentstore the socket's state (diff)
downloadmds-2bf33c2657c3ea07f473510e4c6ceb369bf6d32d.tar.gz
mds-2bf33c2657c3ea07f473510e4c6ceb369bf6d32d.tar.bz2
mds-2bf33c2657c3ea07f473510e4c6ceb369bf6d32d.tar.xz
add todo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libmdsserver/mds-message.h')
-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 5cc1916..f1cd3b1 100644
--- a/src/libmdsserver/mds-message.h
+++ b/src/libmdsserver/mds-message.h
@@ -70,7 +70,7 @@ typedef struct mds_message
/**
* The number of bytes used in `buffer` (internal data)
*/
- size_t buffer_ptr;
+ size_t buffer_ptr; /* TODO: whould it be better to use a ring buffer? */
/**
* 0 while reading headers, 1 while reading payload, and 2 when done (internal data)