diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-23 14:15:52 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-23 14:15:52 +0000 |
commit | fb92a11cb296c9988a972b8a628cc6b01436b5a5 (patch) | |
tree | 0d6e33a174dd5d0283780cc9cc83ccc86511f029 /src/core/gnunet-service-core_clients.c | |
parent | d2efe262a0dda14e37d3787e8c52dae4ae6a8bab (diff) | |
download | gnunet-fb92a11cb296c9988a972b8a628cc6b01436b5a5.tar.gz gnunet-fb92a11cb296c9988a972b8a628cc6b01436b5a5.zip |
another assertion, possible fix to 1840
Diffstat (limited to 'src/core/gnunet-service-core_clients.c')
-rw-r--r-- | src/core/gnunet-service-core_clients.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/gnunet-service-core_clients.c b/src/core/gnunet-service-core_clients.c index ccc76f765..5cdac7d81 100644 --- a/src/core/gnunet-service-core_clients.c +++ b/src/core/gnunet-service-core_clients.c | |||
@@ -669,7 +669,12 @@ GSC_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client, | |||
669 | old_match = GSC_TYPEMAP_test_match (tmap_old, client->types, client->tcnt); | 669 | old_match = GSC_TYPEMAP_test_match (tmap_old, client->types, client->tcnt); |
670 | new_match = GSC_TYPEMAP_test_match (tmap_new, client->types, client->tcnt); | 670 | new_match = GSC_TYPEMAP_test_match (tmap_new, client->types, client->tcnt); |
671 | if (old_match == new_match) | 671 | if (old_match == new_match) |
672 | { | ||
673 | GNUNET_assert (old_match == | ||
674 | GNUNET_CONTAINER_multihashmap_contains (client->connectmap, | ||
675 | &neighbour->hashPubKey)); | ||
672 | return; /* no change */ | 676 | return; /* no change */ |
677 | } | ||
673 | if (old_match == GNUNET_NO) | 678 | if (old_match == GNUNET_NO) |
674 | { | 679 | { |
675 | /* send connect */ | 680 | /* send connect */ |