aboutsummaryrefslogtreecommitdiff
path: root/src/util/client.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-01-04 16:46:18 +0100
committerChristian Grothoff <christian@grothoff.org>2018-01-04 16:46:18 +0100
commite20eca334a33b8340524a8fa6ad1d6b606e1dd0c (patch)
treee79ce20f787cae4aea7403d2e9c9b8fb2546ad1f /src/util/client.c
parent056ca89d207cd1865a90fe3fcd430a4381097da5 (diff)
downloadgnunet-e20eca334a33b8340524a8fa6ad1d6b606e1dd0c.tar.gz
gnunet-e20eca334a33b8340524a8fa6ad1d6b606e1dd0c.zip
fix timeout of test_service, misc signed/unsigned and unused argument issues
Diffstat (limited to 'src/util/client.c')
-rw-r--r--src/util/client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/client.c b/src/util/client.c
index e5bf7e176..7a718fc8d 100644
--- a/src/util/client.c
+++ b/src/util/client.c
@@ -377,6 +377,7 @@ connection_client_destroy_impl (struct GNUNET_MQ_Handle *mq,
377{ 377{
378 struct ClientState *cstate = impl_state; 378 struct ClientState *cstate = impl_state;
379 379
380 (void) mq;
380 if (GNUNET_SYSERR == cstate->in_destroy) 381 if (GNUNET_SYSERR == cstate->in_destroy)
381 { 382 {
382 /* defer destruction */ 383 /* defer destruction */
@@ -814,6 +815,7 @@ connection_client_send_impl (struct GNUNET_MQ_Handle *mq,
814{ 815{
815 struct ClientState *cstate = impl_state; 816 struct ClientState *cstate = impl_state;
816 817
818 (void) mq;
817 /* only one message at a time allowed */ 819 /* only one message at a time allowed */
818 GNUNET_assert (NULL == cstate->msg); 820 GNUNET_assert (NULL == cstate->msg);
819 GNUNET_assert (NULL == cstate->send_task); 821 GNUNET_assert (NULL == cstate->send_task);
@@ -845,6 +847,7 @@ connection_client_cancel_impl (struct GNUNET_MQ_Handle *mq,
845{ 847{
846 struct ClientState *cstate = impl_state; 848 struct ClientState *cstate = impl_state;
847 849
850 (void) mq;
848 GNUNET_assert (NULL != cstate->msg); 851 GNUNET_assert (NULL != cstate->msg);
849 GNUNET_assert (0 == cstate->msg_off); 852 GNUNET_assert (0 == cstate->msg_off);
850 cstate->msg = NULL; 853 cstate->msg = NULL;