[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: minimal code cleanup
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: minimal code cleanup |
Date: |
Fri, 24 Feb 2017 17:30:48 +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 398c70fd7 minimal code cleanup
398c70fd7 is described below
commit 398c70fd7434f3f7891175be96b73191e49a0afe
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Feb 24 17:32:03 2017 +0100
minimal code cleanup
---
src/scalarproduct/gnunet-service-scalarproduct_bob.c | 4 ++--
src/set/gnunet-service-set.c | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_bob.c
b/src/scalarproduct/gnunet-service-scalarproduct_bob.c
index 4da2ba50e..efc3bc8ea 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct_bob.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct_bob.c
@@ -1173,11 +1173,11 @@ handle_bob_client_message (void *cls,
GNUNET_MQ_hd_fixed_size (alices_computation_request,
GNUNET_MESSAGE_TYPE_SCALARPRODUCT_SESSION_INITIALIZATION,
struct ServiceRequestMessage,
- s),
+ NULL),
GNUNET_MQ_hd_var_size (alices_cryptodata_message,
GNUNET_MESSAGE_TYPE_SCALARPRODUCT_ALICE_CRYPTODATA,
struct AliceCryptodataMessage,
- s),
+ NULL),
GNUNET_MQ_handler_end ()
};
uint32_t contained_count;
diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c
index 1072407f1..e3e1afe08 100644
--- a/src/set/gnunet-service-set.c
+++ b/src/set/gnunet-service-set.c
@@ -1401,7 +1401,6 @@ handle_client_listen (void *cls,
GNUNET_MQ_handler_end ()
};
struct Listener *listener;
- struct Operation *op;
if (NULL != listener_get (client))
{
@@ -1430,7 +1429,7 @@ handle_client_listen (void *cls,
&channel_end_cb,
cadet_handlers);
/* check for existing incoming requests the listener might be interested in
*/
- for (op = incoming_head; NULL != op; op = op->next)
+ for (struct Operation *op = incoming_head; NULL != op; op = op->next)
{
if (NULL == op->spec)
continue; /* no details available yet */
--
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: minimal code cleanup,
gnunet <=