diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-28 16:21:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-28 16:21:34 +0000 |
commit | de30f210414a1f1f296c0cfb4406b171c1fc7b62 (patch) | |
tree | 570cc93d141bb7e250c4e73fafc53eba7d6e70bc /src/consensus | |
parent | 652e255add3511262060f3a13517716a72e3cb52 (diff) | |
download | gnunet-de30f210414a1f1f296c0cfb4406b171c1fc7b62.tar.gz gnunet-de30f210414a1f1f296c0cfb4406b171c1fc7b62.zip |
generally use GNUNET_assert() instead of GNUNET_abort() to also log the error
Diffstat (limited to 'src/consensus')
-rw-r--r-- | src/consensus/test_consensus_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/consensus/test_consensus_api.c b/src/consensus/test_consensus_api.c index bfd73c655..631215f14 100644 --- a/src/consensus/test_consensus_api.c +++ b/src/consensus/test_consensus_api.c | |||
@@ -40,7 +40,7 @@ conclude_done (void *cls) | |||
40 | { | 40 | { |
41 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "conclude over\n"); | 41 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "conclude over\n"); |
42 | if (2 != elements_received) | 42 | if (2 != elements_received) |
43 | GNUNET_abort (); | 43 | GNUNET_assert (0); |
44 | GNUNET_SCHEDULER_shutdown (); | 44 | GNUNET_SCHEDULER_shutdown (); |
45 | } | 45 | } |
46 | 46 | ||