[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: Renamed Phase Done -> Finished
From: |
gnunet |
Subject: |
[gnunet] branch master updated: Renamed Phase Done -> Finished |
Date: |
Wed, 17 Feb 2021 17:27:50 +0100 |
This is an automated email from the git hooks/post-receive script.
elias-summermatter pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new d852cb5a6 Renamed Phase Done -> Finished
d852cb5a6 is described below
commit d852cb5a67dd79e697779f3cb3d76ef9ff3a5d87
Author: Elias Summermatter <elias.summermatter@seccom.ch>
AuthorDate: Wed Feb 17 17:26:35 2021 +0100
Renamed Phase Done -> Finished
---
src/setu/gnunet-service-setu.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index 833d00257..ccb341620 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -131,7 +131,7 @@ enum UnionOperationPhase
* In the ultimate phase, we wait until our demands are satisfied and then
* quit (sending another DONE message).
*/
- PHASE_DONE,
+ PHASE_FINISHED,
/**
* After sending the full set, wait for responses with the elements
@@ -657,7 +657,7 @@ send_client_done (void *cls)
if (GNUNET_YES == op->client_done_sent)
return;
- if (PHASE_DONE != op->phase)
+ if (PHASE_FINISHED != op->phase)
{
LOG (GNUNET_ERROR_TYPE_WARNING,
"Union operation failed\n");
@@ -1901,7 +1901,7 @@ maybe_finish (struct Operation *op)
{
struct GNUNET_MQ_Envelope *ev;
- op->phase = PHASE_DONE;
+ op->phase = PHASE_FINISHED;
ev = GNUNET_MQ_msg_header (GNUNET_MESSAGE_TYPE_SETU_P2P_DONE);
GNUNET_MQ_send (op->mq,
ev);
@@ -1916,7 +1916,7 @@ maybe_finish (struct Operation *op)
num_demanded);
if (0 == num_demanded)
{
- op->phase = PHASE_DONE;
+ op->phase = PHASE_FINISHED;
send_client_done (op);
_GSS_operation_destroy2 (op);
}
@@ -2297,7 +2297,7 @@ handle_union_p2p_full_done (void *cls,
ev = GNUNET_MQ_msg_header (GNUNET_MESSAGE_TYPE_SETU_P2P_FULL_DONE);
GNUNET_MQ_send (op->mq,
ev);
- op->phase = PHASE_DONE;
+ op->phase = PHASE_FINISHED;
/* we now wait until the other peer sends us the OVER message*/
}
break;
@@ -2307,7 +2307,7 @@ handle_union_p2p_full_done (void *cls,
LOG (GNUNET_ERROR_TYPE_DEBUG,
"got FULL DONE, finishing\n");
/* We sent the full set, and got the response for that. We're done. */
- op->phase = PHASE_DONE;
+ op->phase = PHASE_FINISHED;
GNUNET_CADET_receive_done (op->channel);
send_client_done (op);
_GSS_operation_destroy2 (op);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: Renamed Phase Done -> Finished,
gnunet <=