aboutsummaryrefslogtreecommitdiff
path: root/src/util/server_mst.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-06-23 14:26:58 +0000
committerChristian Grothoff <christian@grothoff.org>2010-06-23 14:26:58 +0000
commit32815bdd3dfc7cd4adb88abb8db0a62da7a4d698 (patch)
treeab56ddab89ed4a19dad7785e75ac7b19673385b0 /src/util/server_mst.c
parent13a7da212738f9c76c0772ca7726f91885e588d2 (diff)
downloadgnunet-32815bdd3dfc7cd4adb88abb8db0a62da7a4d698.tar.gz
gnunet-32815bdd3dfc7cd4adb88abb8db0a62da7a4d698.zip
doxy
Diffstat (limited to 'src/util/server_mst.c')
-rw-r--r--src/util/server_mst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/server_mst.c b/src/util/server_mst.c
index b124b80b6..29c04e96c 100644
--- a/src/util/server_mst.c
+++ b/src/util/server_mst.c
@@ -121,7 +121,7 @@ GNUNET_SERVER_mst_create (size_t maxbuf,
121 */ 121 */
122int 122int
123GNUNET_SERVER_mst_receive (struct GNUNET_SERVER_MessageStreamTokenizer *mst, 123GNUNET_SERVER_mst_receive (struct GNUNET_SERVER_MessageStreamTokenizer *mst,
124 void *client, 124 void *client_identity,
125 const char *buf, 125 const char *buf,
126 size_t size, 126 size_t size,
127 int purge, 127 int purge,
@@ -221,7 +221,7 @@ GNUNET_SERVER_mst_receive (struct GNUNET_SERVER_MessageStreamTokenizer *mst,
221 } 221 }
222 if (one_shot == GNUNET_YES) 222 if (one_shot == GNUNET_YES)
223 one_shot = GNUNET_SYSERR; 223 one_shot = GNUNET_SYSERR;
224 mst->cb (mst->cb_cls, client, hdr); 224 mst->cb (mst->cb_cls, client_identity, hdr);
225 mst->off += want; 225 mst->off += want;
226 if (mst->off == mst->pos) 226 if (mst->off == mst->pos)
227 { 227 {
@@ -257,7 +257,7 @@ GNUNET_SERVER_mst_receive (struct GNUNET_SERVER_MessageStreamTokenizer *mst,
257 } 257 }
258 if (one_shot == GNUNET_YES) 258 if (one_shot == GNUNET_YES)
259 one_shot = GNUNET_SYSERR; 259 one_shot = GNUNET_SYSERR;
260 mst->cb (mst->cb_cls, client, hdr); 260 mst->cb (mst->cb_cls, client_identity, hdr);
261 buf += want; 261 buf += want;
262 size -= want; 262 size -= want;
263 } 263 }