diff options
author | Gabor X Toth <*@tg-x.net> | 2015-09-27 21:04:34 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2015-09-27 21:04:34 +0000 |
commit | cab1b047ddcac497e14515fc11f097c4aac8ee27 (patch) | |
tree | 7f4e14a8c77d76bef07cb4bbf6b94adcce44d53c /src/social | |
parent | 51f530b98232f7a9947f29008d161ed0d8e23af4 (diff) | |
download | gnunet-cab1b047ddcac497e14515fc11f097c4aac8ee27.tar.gz gnunet-cab1b047ddcac497e14515fc11f097c4aac8ee27.zip |
multicast/psyc/social: message acks & scheduling
Diffstat (limited to 'src/social')
-rw-r--r-- | src/social/social_api.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/social/social_api.c b/src/social/social_api.c index 17e5a3bfc..4aed3755e 100644 --- a/src/social/social_api.c +++ b/src/social/social_api.c | |||
@@ -1837,8 +1837,10 @@ GNUNET_SOCIAL_host_announce (struct GNUNET_SOCIAL_Host *hst, | |||
1837 | { | 1837 | { |
1838 | if (GNUNET_OK == | 1838 | if (GNUNET_OK == |
1839 | GNUNET_PSYC_transmit_message (hst->plc.tmit, method_name, env, | 1839 | GNUNET_PSYC_transmit_message (hst->plc.tmit, method_name, env, |
1840 | NULL, notify_data, notify_data_cls, flags)); | 1840 | NULL, notify_data, notify_data_cls, flags)) |
1841 | return (struct GNUNET_SOCIAL_Announcement *) hst->plc.tmit; | 1841 | return (struct GNUNET_SOCIAL_Announcement *) hst->plc.tmit; |
1842 | else | ||
1843 | return NULL; | ||
1842 | } | 1844 | } |
1843 | 1845 | ||
1844 | 1846 | ||
@@ -2168,8 +2170,10 @@ GNUNET_SOCIAL_guest_talk (struct GNUNET_SOCIAL_Guest *gst, | |||
2168 | 2170 | ||
2169 | if (GNUNET_OK == | 2171 | if (GNUNET_OK == |
2170 | GNUNET_PSYC_transmit_message (plc->tmit, method_name, env, | 2172 | GNUNET_PSYC_transmit_message (plc->tmit, method_name, env, |
2171 | NULL, notify_data, notify_data_cls, flags)); | 2173 | NULL, notify_data, notify_data_cls, flags)) |
2172 | return (struct GNUNET_SOCIAL_TalkRequest *) plc->tmit; | 2174 | return (struct GNUNET_SOCIAL_TalkRequest *) plc->tmit; |
2175 | else | ||
2176 | return NULL; | ||
2173 | } | 2177 | } |
2174 | 2178 | ||
2175 | 2179 | ||