diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-04 17:47:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-04 17:47:50 +0000 |
commit | 94d8b17e86c2a3405d189cc63897d3e7824584c0 (patch) | |
tree | 2c21f7d237413a9f743bddf25e8eb7c4097a659a /src/revocation/gnunet-service-revocation.c | |
parent | f32b0bc6605984cf1766bc106f6f6d054cf26e06 (diff) | |
download | gnunet-94d8b17e86c2a3405d189cc63897d3e7824584c0.tar.gz gnunet-94d8b17e86c2a3405d189cc63897d3e7824584c0.zip |
-fix #3428
Diffstat (limited to 'src/revocation/gnunet-service-revocation.c')
-rw-r--r-- | src/revocation/gnunet-service-revocation.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c index f0b33a459..648e82107 100644 --- a/src/revocation/gnunet-service-revocation.c +++ b/src/revocation/gnunet-service-revocation.c | |||
@@ -707,6 +707,9 @@ handle_revocation_union_request (void *cls, | |||
707 | GNUNET_break (0); | 707 | GNUNET_break (0); |
708 | return; | 708 | return; |
709 | } | 709 | } |
710 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
711 | "Received set exchange request from peer `%s'\n", | ||
712 | GNUNET_i2s (other_peer)); | ||
710 | peer_entry = GNUNET_CONTAINER_multipeermap_get (peers, | 713 | peer_entry = GNUNET_CONTAINER_multipeermap_get (peers, |
711 | other_peer); | 714 | other_peer); |
712 | if (NULL == peer_entry) | 715 | if (NULL == peer_entry) |
@@ -722,6 +725,15 @@ handle_revocation_union_request (void *cls, | |||
722 | GNUNET_SET_RESULT_ADDED, | 725 | GNUNET_SET_RESULT_ADDED, |
723 | &add_revocation, | 726 | &add_revocation, |
724 | peer_entry); | 727 | peer_entry); |
728 | if (GNUNET_OK != | ||
729 | GNUNET_SET_commit (peer_entry->so, | ||
730 | revocation_set)) | ||
731 | { | ||
732 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
733 | _("SET service crashed, terminating revocation service\n")); | ||
734 | GNUNET_SCHEDULER_shutdown (); | ||
735 | return; | ||
736 | } | ||
725 | } | 737 | } |
726 | 738 | ||
727 | 739 | ||