From: Christian Grothoff Date: Fri, 15 Jul 2011 11:06:25 +0000 (+0000) Subject: move assert X-Git-Tag: initial-import-from-subversion-38251~17844 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a35db619adaaa47a30a12c5199e9609f5ba2aa73;p=oweals%2Fgnunet.git move assert --- diff --git a/src/testing/testing.c b/src/testing/testing.c index 21014db9f..57670dd23 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c @@ -99,6 +99,7 @@ process_hello (void *cls, int empty; empty = GNUNET_YES; + GNUNET_assert (message != NULL); GNUNET_HELLO_iterate_addresses ((const struct GNUNET_HELLO_Message*) message, GNUNET_NO, &test_address, @@ -134,7 +135,6 @@ process_hello (void *cls, daemon->server = NULL; } - GNUNET_assert (message != NULL); msize = ntohs (message->size); if (msize < 1) {