[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: add sanity check for GNUNET
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: add sanity check for GNUNET_MQ_notify_sent |
Date: |
Sun, 22 Jan 2017 16:39:56 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new aa189e94b add sanity check for GNUNET_MQ_notify_sent
aa189e94b is described below
commit aa189e94b593fd5679f328333a3aabef742d9d69
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Jan 22 16:37:48 2017 +0100
add sanity check for GNUNET_MQ_notify_sent
---
src/util/mq.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/util/mq.c b/src/util/mq.c
index 985e86331..d12f69e5f 100644
--- a/src/util/mq.c
+++ b/src/util/mq.c
@@ -811,12 +811,13 @@ GNUNET_MQ_assoc_remove (struct GNUNET_MQ_Handle *mq,
* @param cb_cls closure for the callback
*/
void
-GNUNET_MQ_notify_sent (struct GNUNET_MQ_Envelope *mqm,
+GNUNET_MQ_notify_sent (struct GNUNET_MQ_Envelope *ev,
GNUNET_SCHEDULER_TaskCallback cb,
void *cb_cls)
{
- mqm->sent_cb = cb;
- mqm->sent_cls = cb_cls;
+ GNUNET_assert (NULL == ev->sent_cb);
+ ev->sent_cb = cb;
+ ev->sent_cls = cb_cls;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: add sanity check for GNUNET_MQ_notify_sent,
gnunet <=