diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-19 03:54:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-19 03:54:16 +0200 |
commit | 14a11e75fef91daf741dbf67e013eb8495752e34 (patch) | |
tree | f8f4b3acff8d9b6b8b8d43c150830e258db10ac3 | |
parent | reduce code complexity + fix bug (diff) | |
download | mds-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 '')
-rw-r--r-- | src/libmdsserver/mds-message.c | 2 |
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); |