From: Christian Grothoff Date: Thu, 26 Apr 2012 08:14:54 +0000 (+0000) Subject: -convert assert to break for now X-Git-Tag: initial-import-from-subversion-38251~13773 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=074829f1d2c58e17f5648da2b78a6d2b6d75d817;p=oweals%2Fgnunet.git -convert assert to break for now --- diff --git a/src/testing/testing.c b/src/testing/testing.c index 7a2a2b87a..298d78bce 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c @@ -1542,7 +1542,10 @@ GNUNET_TESTING_daemon_stop (struct GNUNET_TESTING_Daemon *d, GNUNET_free_non_null (d->username); if (NULL != d->dead_cb) d->dead_cb (d->dead_cb_cls, NULL); - GNUNET_assert (NULL == d->proc_arm_stop); + /* FIXME: this should be an assert and the test below + should not be required, but testing is broken... */ + GNUNET_break (NULL == d->proc_arm_stop); + if (NULL == d->proc_arm_stop) GNUNET_free (d); return; }