diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-07-06 09:24:29 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-07-06 09:24:29 +0000 |
commit | 793754fc2c9634e68fbecd82be55b67b1839bc04 (patch) | |
tree | cacfaa93f03dadd88bd1dde43757522c8cf52a1a /src/core/test_core_api_send_to_self.c | |
parent | 232fe056c0b1e9a1f5e9046dd165f47930782b82 (diff) | |
download | gnunet-793754fc2c9634e68fbecd82be55b67b1839bc04.tar.gz gnunet-793754fc2c9634e68fbecd82be55b67b1839bc04.zip |
- additional checks
Diffstat (limited to 'src/core/test_core_api_send_to_self.c')
-rw-r--r-- | src/core/test_core_api_send_to_self.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/test_core_api_send_to_self.c b/src/core/test_core_api_send_to_self.c index 75a2be1c5..626c5e15e 100644 --- a/src/core/test_core_api_send_to_self.c +++ b/src/core/test_core_api_send_to_self.c | |||
@@ -78,6 +78,8 @@ receive (void *cls, const struct GNUNET_PeerIdentity *other, | |||
78 | GNUNET_SCHEDULER_cancel (die_task); | 78 | GNUNET_SCHEDULER_cancel (die_task); |
79 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Received message from peer %s\n", | 79 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Received message from peer %s\n", |
80 | GNUNET_i2s (other)); | 80 | GNUNET_i2s (other)); |
81 | GNUNET_assert (GNUNET_MESSAGE_TYPE_DUMMY == ntohs (message->type)); | ||
82 | GNUNET_assert (0 == memcmp (other, &myself, sizeof (myself))); | ||
81 | GNUNET_SCHEDULER_add_now (&cleanup, NULL); | 83 | GNUNET_SCHEDULER_add_now (&cleanup, NULL); |
82 | ret = 0; | 84 | ret = 0; |
83 | return GNUNET_OK; | 85 | return GNUNET_OK; |