diff options
author | Carlo von lynX <lynX@time.to.get.psyced.org> | 2016-07-30 06:22:40 +0000 |
---|---|---|
committer | Carlo von lynX <lynX@time.to.get.psyced.org> | 2016-07-30 06:22:40 +0000 |
commit | 319ff0fa21798013e1fbb6bdd0ce18b1be42fb07 (patch) | |
tree | 39719e4669fa0616eded57a30a7e67539def54a9 /src/multicast | |
parent | ff1c357933910f707cdf13bb6ef705ef0ae90960 (diff) | |
download | gnunet-319ff0fa21798013e1fbb6bdd0ce18b1be42fb07.tar.gz gnunet-319ff0fa21798013e1fbb6bdd0ce18b1be42fb07.zip |
social: allow multiple calls to disconnect(), rest: handle warnings
Diffstat (limited to 'src/multicast')
-rw-r--r-- | src/multicast/gnunet-service-multicast.c | 4 | ||||
-rw-r--r-- | src/multicast/multicast_api.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/multicast/gnunet-service-multicast.c b/src/multicast/gnunet-service-multicast.c index 91cafb707..a14ecd04c 100644 --- a/src/multicast/gnunet-service-multicast.c +++ b/src/multicast/gnunet-service-multicast.c | |||
@@ -877,6 +877,7 @@ cadet_send_children (struct GNUNET_HashCode *pub_key_hash, | |||
877 | } | 877 | } |
878 | 878 | ||
879 | 879 | ||
880 | #if 0 // unused as yet | ||
880 | /** | 881 | /** |
881 | * Send message to all connected parents. | 882 | * Send message to all connected parents. |
882 | */ | 883 | */ |
@@ -890,6 +891,7 @@ cadet_send_parents (struct GNUNET_HashCode *pub_key_hash, | |||
890 | cadet_send_cb, (void *) msg); | 891 | cadet_send_cb, (void *) msg); |
891 | return n; | 892 | return n; |
892 | } | 893 | } |
894 | #endif | ||
893 | 895 | ||
894 | 896 | ||
895 | /** | 897 | /** |
@@ -1778,7 +1780,7 @@ cadet_recv_replay_response (void *cls, | |||
1778 | void **ctx, | 1780 | void **ctx, |
1779 | const struct GNUNET_MessageHeader *m) | 1781 | const struct GNUNET_MessageHeader *m) |
1780 | { | 1782 | { |
1781 | struct Channel *chn = *ctx; | 1783 | //struct Channel *chn = *ctx; |
1782 | 1784 | ||
1783 | /* @todo FIXME: got replay error response, send request to other members */ | 1785 | /* @todo FIXME: got replay error response, send request to other members */ |
1784 | 1786 | ||
diff --git a/src/multicast/multicast_api.c b/src/multicast/multicast_api.c index f5c8c3d34..e390a621c 100644 --- a/src/multicast/multicast_api.c +++ b/src/multicast/multicast_api.c | |||
@@ -400,9 +400,9 @@ member_recv_replay_response (void *cls, | |||
400 | struct GNUNET_MULTICAST_Member * | 400 | struct GNUNET_MULTICAST_Member * |
401 | mem = GNUNET_CLIENT_MANAGER_get_user_context_ (client, sizeof (*grp)); | 401 | mem = GNUNET_CLIENT_MANAGER_get_user_context_ (client, sizeof (*grp)); |
402 | grp = &mem->grp; | 402 | grp = &mem->grp; |
403 | struct MulticastReplayResponseMessage * | 403 | // FIXME: Something is missing here for the code to make sense |
404 | res = (struct MulticastReplayResponseMessage *) msg; | 404 | //struct MulticastReplayResponseMessage * |
405 | 405 | // res = (struct MulticastReplayResponseMessage *) msg; | |
406 | if (GNUNET_YES == grp->is_disconnecting) | 406 | if (GNUNET_YES == grp->is_disconnecting) |
407 | return; | 407 | return; |
408 | 408 | ||