diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-27 16:23:22 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-27 16:23:22 +0200 |
commit | 2bb6e2d842ac4092b94fd23208df7c99893ba8aa (patch) | |
tree | 63180d9277470c7179dccee7c94b22b8a5dd978a /src/libmdsserver | |
parent | doc (diff) | |
download | mds-2bb6e2d842ac4092b94fd23208df7c99893ba8aa.tar.gz mds-2bb6e2d842ac4092b94fd23208df7c99893ba8aa.tar.bz2 mds-2bb6e2d842ac4092b94fd23208df7c99893ba8aa.tar.xz |
m
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 b5ffab7..77cd4a9 100644 --- a/src/libmdsserver/mds-message.c +++ b/src/libmdsserver/mds-message.c @@ -247,7 +247,7 @@ int mds_message_read(mds_message_t* this, int fd) /* But if we head left over data that is for the next message, just move the pointer back as much as we read. (Which is actually what we do even we did not have excess data.) */ - this->buffer_ptr -= needed; + this->buffer_ptr -= need; /* If we have filled the payload, make the end of this stage, i.e. that the message is complete, and return with success. */ |