[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r17174 - gnunet/src/core
From: |
gnunet |
Subject: |
[GNUnet-SVN] r17174 - gnunet/src/core |
Date: |
Tue, 4 Oct 2011 15:55:12 +0200 |
Author: grothoff
Date: 2011-10-04 15:55:12 +0200 (Tue, 04 Oct 2011)
New Revision: 17174
Modified:
gnunet/src/core/gnunet-service-core.c
Log:
adding assertions to help with 1815
Modified: gnunet/src/core/gnunet-service-core.c
===================================================================
--- gnunet/src/core/gnunet-service-core.c 2011-10-04 13:24:22 UTC (rev
17173)
+++ gnunet/src/core/gnunet-service-core.c 2011-10-04 13:55:12 UTC (rev
17174)
@@ -3838,6 +3838,7 @@
struct GNUNET_TRANSPORT_ATS_Information *ats;
GNUNET_assert (GNUNET_YES == sender->is_connected);
+ GNUNET_break (sender->status == PEER_STATE_KEY_CONFIRMED);
if (size >= GNUNET_SERVER_MAX_MESSAGE_SIZE)
{
GNUNET_break (0);
@@ -3888,6 +3889,7 @@
int deliver_full;
int dropped;
+ GNUNET_break (sender->status == PEER_STATE_KEY_CONFIRMED);
type = ntohs (m->type);
#if DEBUG_CORE > 1
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r17174 - gnunet/src/core,
gnunet <=