From a35db619adaaa47a30a12c5199e9609f5ba2aa73 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 15 Jul 2011 11:06:25 +0000 Subject: [PATCH] move assert --- src/testing/testing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.25.1