gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r15993 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r15993 - gnunet/src/testing
Date: Fri, 15 Jul 2011 13:06:25 +0200

Author: grothoff
Date: 2011-07-15 13:06:25 +0200 (Fri, 15 Jul 2011)
New Revision: 15993

Modified:
   gnunet/src/testing/testing.c
Log:
move assert

Modified: gnunet/src/testing/testing.c
===================================================================
--- gnunet/src/testing/testing.c        2011-07-15 11:03:57 UTC (rev 15992)
+++ gnunet/src/testing/testing.c        2011-07-15 11:06:25 UTC (rev 15993)
@@ -99,6 +99,7 @@
   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 @@
       daemon->server = NULL;
     }
 
-  GNUNET_assert (message != NULL);
   msize = ntohs (message->size);
   if (msize < 1)
     {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]