aboutsummaryrefslogtreecommitdiff
path: root/src/multicast/multicast_api.c
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2014-07-25 13:24:15 +0000
committerGabor X Toth <*@tg-x.net>2014-07-25 13:24:15 +0000
commit30752e6cb73b6c71ad5aab392c40ac482257e410 (patch)
treee33ab995a7a56853e20d448f339b10d87cb7e32b /src/multicast/multicast_api.c
parentac2af3883bbceafd3258cad788587a70057010d9 (diff)
multicast: send join decision to remote peer
Diffstat (limited to 'src/multicast/multicast_api.c')
-rw-r--r--src/multicast/multicast_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/multicast/multicast_api.c b/src/multicast/multicast_api.c
index 5f22741bef..aa15edccfb 100644
--- a/src/multicast/multicast_api.c
+++ b/src/multicast/multicast_api.c
@@ -159,7 +159,7 @@ struct GNUNET_MULTICAST_JoinHandle
/**
* Peer identity of the member requesting join.
*/
- struct GNUNET_PeerIdentity member_peer;
+ struct GNUNET_PeerIdentity peer;
};
@@ -232,7 +232,7 @@ group_recv_join_request (void *cls,
struct GNUNET_MULTICAST_JoinHandle *jh = GNUNET_malloc (sizeof (*jh));
jh->group = grp;
jh->member_key = jreq->member_key;
- jh->member_peer = jreq->member_peer;
+ jh->peer = jreq->peer;
const struct GNUNET_MessageHeader *jmsg = NULL;
if (sizeof (*jreq) + sizeof (*jmsg) <= ntohs (jreq->header.size))
@@ -461,7 +461,7 @@ GNUNET_MULTICAST_join_decision (struct GNUNET_MULTICAST_JoinHandle *join,
+ relay_size + join_resp_size);
hdcsn->header.type = htons (GNUNET_MESSAGE_TYPE_MULTICAST_JOIN_DECISION);
hdcsn->member_key = join->member_key;
- hdcsn->peer = join->member_peer;
+ hdcsn->peer = join->peer;
dcsn = (struct MulticastJoinDecisionMessage *) &hdcsn[1];
dcsn->header.type = htons (GNUNET_MESSAGE_TYPE_MULTICAST_JOIN_DECISION);