From 14a11e75fef91daf741dbf67e013eb8495752e34 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 19 May 2014 03:54:16 +0200 Subject: m doc 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(-) diff --git a/src/libmdsserver/mds-message.c b/src/libmdsserver/mds-message.c index 739244a..ea4e458 100644 --- a/src/libmdsserver/mds-message.c +++ b/src/libmdsserver/mds-message.c @@ -381,7 +381,7 @@ int mds_message_read(mds_message_t* restrict this, int fd) n = this->buffer_size - this->buffer_ptr; } - /* Then read from the file descriptor. */ + /* Then read from the socket. */ errno = 0; got = recv(fd, this->buffer + this->buffer_ptr, n, 0); this->buffer_ptr += (size_t)(got < 0 ? 0 : got); -- cgit v1.2.3-70-g09d2