gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r14127 - gnunet/src/core
Date: Mon, 10 Jan 2011 11:23:45 +0100

Author: nevans
Date: 2011-01-10 11:23:45 +0100 (Mon, 10 Jan 2011)
New Revision: 14127

Modified:
   gnunet/src/core/core_api.c
Log:
send to self, remove assertion failure

Modified: gnunet/src/core/core_api.c
===================================================================
--- gnunet/src/core/core_api.c  2011-01-10 09:59:10 UTC (rev 14126)
+++ gnunet/src/core/core_api.c  2011-01-10 10:23:45 UTC (rev 14127)
@@ -987,7 +987,6 @@
       if (NULL == h->status_events)
         {
           GNUNET_break (0);
-          break;
         }
       if (msize < sizeof (struct PeerStatusNotifyMessage))
         {
@@ -1040,14 +1039,7 @@
          return;
         }
       ntm = (const struct NotifyTrafficMessage *) msg;
-      if (0 == memcmp (&h->me,
-                      &ntm->peer,
-                      sizeof (struct GNUNET_PeerIdentity)))
-       {
-         /* self-change!? */
-         GNUNET_break (0);
-         return;
-       }
+
       ats_count = ntohl (ntm->ats_count);
       if ( (msize < sizeof (struct NotifyTrafficMessage) + ats_count * sizeof 
(struct GNUNET_TRANSPORT_ATS_Information)
            + sizeof (struct GNUNET_MessageHeader)) ||




reply via email to

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