diff options
Diffstat (limited to 'src/revocation/gnunet-service-revocation.c')
-rw-r--r-- | src/revocation/gnunet-service-revocation.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c index 8281e9a16..23f654141 100644 --- a/src/revocation/gnunet-service-revocation.c +++ b/src/revocation/gnunet-service-revocation.c | |||
@@ -759,7 +759,11 @@ handle_revocation_union_request (void *cls, | |||
759 | { | 759 | { |
760 | peer_entry = new_peer_entry (other_peer); | 760 | peer_entry = new_peer_entry (other_peer); |
761 | } | 761 | } |
762 | GNUNET_assert (NULL == peer_entry->so); | 762 | if (NULL != peer_entry->so) |
763 | { | ||
764 | GNUNET_break_op (0); | ||
765 | return; | ||
766 | } | ||
763 | peer_entry->so = GNUNET_SET_accept (request, | 767 | peer_entry->so = GNUNET_SET_accept (request, |
764 | GNUNET_SET_RESULT_ADDED, | 768 | GNUNET_SET_RESULT_ADDED, |
765 | (struct GNUNET_SET_Option[]) {{ 0 }}, | 769 | (struct GNUNET_SET_Option[]) {{ 0 }}, |
@@ -769,8 +773,7 @@ handle_revocation_union_request (void *cls, | |||
769 | GNUNET_SET_commit (peer_entry->so, | 773 | GNUNET_SET_commit (peer_entry->so, |
770 | revocation_set)) | 774 | revocation_set)) |
771 | { | 775 | { |
772 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 776 | GNUNET_break (0); |
773 | _("SET service crashed, terminating revocation service\n")); | ||
774 | GNUNET_SCHEDULER_shutdown (); | 777 | GNUNET_SCHEDULER_shutdown (); |
775 | return; | 778 | return; |
776 | } | 779 | } |