gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r22518 - gnunet/src/core


From: gnunet
Subject: [GNUnet-SVN] r22518 - gnunet/src/core
Date: Fri, 6 Jul 2012 11:24:29 +0200

Author: wachs
Date: 2012-07-06 11:24:29 +0200 (Fri, 06 Jul 2012)
New Revision: 22518

Modified:
   gnunet/src/core/test_core_api_send_to_self.c
Log:
- additional checks

Modified: gnunet/src/core/test_core_api_send_to_self.c
===================================================================
--- gnunet/src/core/test_core_api_send_to_self.c        2012-07-06 09:06:56 UTC 
(rev 22517)
+++ gnunet/src/core/test_core_api_send_to_self.c        2012-07-06 09:24:29 UTC 
(rev 22518)
@@ -78,6 +78,8 @@
     GNUNET_SCHEDULER_cancel (die_task);
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Received message from peer %s\n",
               GNUNET_i2s (other));
+  GNUNET_assert (GNUNET_MESSAGE_TYPE_DUMMY == ntohs (message->type));
+  GNUNET_assert (0 == memcmp (other, &myself, sizeof (myself)));
   GNUNET_SCHEDULER_add_now (&cleanup, NULL);
   ret = 0;
   return GNUNET_OK;




reply via email to

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