aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-19 03:54:16 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-19 03:54:16 +0200
commit14a11e75fef91daf741dbf67e013eb8495752e34 (patch)
treef8f4b3acff8d9b6b8b8d43c150830e258db10ac3 /src
parentreduce code complexity + fix bug (diff)
downloadmds-14a11e75fef91daf741dbf67e013eb8495752e34.tar.gz
mds-14a11e75fef91daf741dbf67e013eb8495752e34.tar.bz2
mds-14a11e75fef91daf741dbf67e013eb8495752e34.tar.xz
m doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/libmdsserver/mds-message.c2
1 files changed, 1 insertions, 1 deletions
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);