diff options
author | Gabor X Toth <*@tg-x.net> | 2016-05-12 00:21:25 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2016-05-12 00:21:25 +0000 |
commit | 9ced7c72a9acfe9c99b4d2f07bb81e11a1a23707 (patch) | |
tree | 39049d5e856ce39a71fa93d0bf68b009d5658095 /src/psyc | |
parent | d22568f1f9147e3d8ea96f2c4592985702b2eab9 (diff) | |
download | gnunet-9ced7c72a9acfe9c99b4d2f07bb81e11a1a23707.tar.gz gnunet-9ced7c72a9acfe9c99b4d2f07bb81e11a1a23707.zip |
psyc/social: transmit fix
Diffstat (limited to 'src/psyc')
-rw-r--r-- | src/psyc/gnunet-service-psyc.c | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/psyc/gnunet-service-psyc.c b/src/psyc/gnunet-service-psyc.c index bd81dabb1..dc5697a07 100644 --- a/src/psyc/gnunet-service-psyc.c +++ b/src/psyc/gnunet-service-psyc.c | |||
@@ -2068,10 +2068,13 @@ master_transmit_message (struct Master *mst) | |||
2068 | return; | 2068 | return; |
2069 | if (NULL == mst->tmit_handle) | 2069 | if (NULL == mst->tmit_handle) |
2070 | { | 2070 | { |
2071 | mst->tmit_handle | 2071 | mst->tmit_handle = (void *) &mst->tmit_handle; |
2072 | = GNUNET_MULTICAST_origin_to_all (mst->origin, tmit_msg->id, | 2072 | struct GNUNET_MULTICAST_OriginTransmitHandle * |
2073 | mst->max_group_generation, | 2073 | tmit_handle = GNUNET_MULTICAST_origin_to_all (mst->origin, tmit_msg->id, |
2074 | master_transmit_notify, mst); | 2074 | mst->max_group_generation, |
2075 | master_transmit_notify, mst); | ||
2076 | if (NULL != mst->tmit_handle) | ||
2077 | mst->tmit_handle = tmit_handle; | ||
2075 | } | 2078 | } |
2076 | else | 2079 | else |
2077 | { | 2080 | { |
@@ -2090,9 +2093,12 @@ slave_transmit_message (struct Slave *slv) | |||
2090 | return; | 2093 | return; |
2091 | if (NULL == slv->tmit_handle) | 2094 | if (NULL == slv->tmit_handle) |
2092 | { | 2095 | { |
2093 | slv->tmit_handle | 2096 | slv->tmit_handle = (void *) &slv->tmit_handle; |
2094 | = GNUNET_MULTICAST_member_to_origin (slv->member, slv->chn.tmit_head->id, | 2097 | struct GNUNET_MULTICAST_MemberTransmitHandle * |
2095 | slave_transmit_notify, slv); | 2098 | tmit_handle = GNUNET_MULTICAST_member_to_origin (slv->member, slv->chn.tmit_head->id, |
2099 | slave_transmit_notify, slv); | ||
2100 | if (NULL != slv->tmit_handle) | ||
2101 | slv->tmit_handle = tmit_handle; | ||
2096 | } | 2102 | } |
2097 | else | 2103 | else |
2098 | { | 2104 | { |