aboutsummaryrefslogtreecommitdiff
path: root/src/util/mst.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-18 18:59:01 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-18 19:00:18 +0100
commit6fa8e1c652f447ebd94e144314ce55412dab80c8 (patch)
tree14fb8d9a5f221d106ae8e2b2244aa859a7a7314e /src/util/mst.c
parent0af32e03677ab1c8a819b376c8fa026d0ffa9144 (diff)
logging fixes, nicer comments
Diffstat (limited to 'src/util/mst.c')
-rw-r--r--src/util/mst.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/mst.c b/src/util/mst.c
index 82a21b8800..1422c248e2 100644
--- a/src/util/mst.c
+++ b/src/util/mst.c
@@ -130,7 +130,7 @@ GNUNET_MST_from_buffer (struct GNUNET_MessageStreamTokenizer *mst,
GNUNET_assert (mst->off <= mst->pos);
GNUNET_assert (mst->pos <= mst->curr_buf);
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Server-mst receives %u bytes with %u bytes already in private buffer\n",
+ "MST receives %u bytes with %u bytes already in private buffer\n",
(unsigned int) size,
(unsigned int) (mst->pos - mst->off));
ret = GNUNET_OK;
@@ -151,7 +151,7 @@ do_align:
}
if (mst->pos - mst->off < sizeof (struct GNUNET_MessageHeader))
{
- delta
+ delta
= GNUNET_MIN (sizeof (struct GNUNET_MessageHeader)
- (mst->pos - mst->off),
size);
@@ -229,8 +229,8 @@ do_align:
if (one_shot == GNUNET_YES)
one_shot = GNUNET_SYSERR;
mst->off += want;
- if (GNUNET_SYSERR == mst->cb (mst->cb_cls,
- hdr))
+ if (GNUNET_SYSERR == mst->cb (mst->cb_cls,
+ hdr))
return GNUNET_SYSERR;
if (mst->off == mst->pos)
{