From 60b8698c6a15ce223710c019c0289c815a71c850 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 19 May 2014 00:12:45 +0200 Subject: add to fixme:s 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.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libmdsserver') diff --git a/src/libmdsserver/mds-message.c b/src/libmdsserver/mds-message.c index 5051cb1..4371ec3 100644 --- a/src/libmdsserver/mds-message.c +++ b/src/libmdsserver/mds-message.c @@ -228,7 +228,7 @@ int mds_message_read(mds_message_t* restrict this, int fd) this->stage = 2; return 0; } - if ((this->stage == 1) && (this->payload_size > 0)) + if ((this->stage == 1) && (this->payload_size > 0)) /* FIXME: next message fails if not LF-terminated. */ { /* How much of the payload that has not yet been filled. */ size_t need = this->payload_size - this->payload_ptr; -- cgit v1.2.3-70-g09d2