diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-11-24 14:18:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-11-24 14:18:22 +0000 |
commit | bf716069e987193e1ee0d06bbc4af245e6ffa821 (patch) | |
tree | 0b9b690bdafa6e0fc8cc51afaa2219da7dbb7c8c /src/set | |
parent | 9448d15d50430f13bf61c86a617037964209df15 (diff) | |
download | gnunet-bf716069e987193e1ee0d06bbc4af245e6ffa821.tar.gz gnunet-bf716069e987193e1ee0d06bbc4af245e6ffa821.zip |
-indent
Diffstat (limited to 'src/set')
-rw-r--r-- | src/set/gnunet-service-set.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c index 488038f81..666ba5b1b 100644 --- a/src/set/gnunet-service-set.c +++ b/src/set/gnunet-service-set.c | |||
@@ -569,10 +569,12 @@ incoming_suggest (struct Operation *incoming, | |||
569 | GNUNET_SCHEDULER_cancel (incoming->state->timeout_task); | 569 | GNUNET_SCHEDULER_cancel (incoming->state->timeout_task); |
570 | incoming->state->timeout_task = GNUNET_SCHEDULER_NO_TASK; | 570 | incoming->state->timeout_task = GNUNET_SCHEDULER_NO_TASK; |
571 | 571 | ||
572 | mqm = GNUNET_MQ_msg_nested_mh (cmsg, GNUNET_MESSAGE_TYPE_SET_REQUEST, | 572 | mqm = GNUNET_MQ_msg_nested_mh (cmsg, |
573 | GNUNET_MESSAGE_TYPE_SET_REQUEST, | ||
573 | incoming->spec->context_msg); | 574 | incoming->spec->context_msg); |
574 | GNUNET_assert (NULL != mqm); | 575 | GNUNET_assert (NULL != mqm); |
575 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "suggesting request with accept id %u\n", | 576 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
577 | "suggesting request with accept id %u\n", | ||
576 | incoming->state->suggest_id); | 578 | incoming->state->suggest_id); |
577 | cmsg->accept_id = htonl (incoming->state->suggest_id); | 579 | cmsg->accept_id = htonl (incoming->state->suggest_id); |
578 | cmsg->peer_id = incoming->spec->peer; | 580 | cmsg->peer_id = incoming->spec->peer; |
@@ -597,10 +599,11 @@ static int | |||
597 | handle_incoming_msg (struct Operation *op, | 599 | handle_incoming_msg (struct Operation *op, |
598 | const struct GNUNET_MessageHeader *mh) | 600 | const struct GNUNET_MessageHeader *mh) |
599 | { | 601 | { |
600 | const struct OperationRequestMessage *msg = (const struct OperationRequestMessage *) mh; | 602 | const struct OperationRequestMessage *msg; |
601 | struct Listener *listener; | 603 | struct Listener *listener; |
602 | struct OperationSpecification *spec; | 604 | struct OperationSpecification *spec; |
603 | 605 | ||
606 | msg = (const struct OperationRequestMessage *) mh; | ||
604 | GNUNET_assert (GNUNET_YES == op->is_incoming); | 607 | GNUNET_assert (GNUNET_YES == op->is_incoming); |
605 | 608 | ||
606 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 609 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |