gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r32887 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r32887 - gnunet/src/ats
Date: Thu, 3 Apr 2014 13:05:52 +0200

Author: wachs
Date: 2014-04-03 13:05:52 +0200 (Thu, 03 Apr 2014)
New Revision: 32887

Modified:
   gnunet/src/ats/test_ats_solver_alternative_after_delete_address.c
Log:
ril may suggest 0, so this check is wrong


Modified: gnunet/src/ats/test_ats_solver_alternative_after_delete_address.c
===================================================================
--- gnunet/src/ats/test_ats_solver_alternative_after_delete_address.c   
2014-04-03 09:44:21 UTC (rev 32886)
+++ gnunet/src/ats/test_ats_solver_alternative_after_delete_address.c   
2014-04-03 11:05:52 UTC (rev 32887)
@@ -216,24 +216,12 @@
   {
     if (NULL == second_suggestion)
     {
-      GNUNET_assert (NULL != address);
-      GNUNET_assert (NULL == session);
-      GNUNET_assert (ntohl(bandwidth_in.value__) > 0);
-      GNUNET_assert (ntohl(bandwidth_out.value__) > 0);
-
       if ((NULL == address) || (NULL != session))
       {
         GNUNET_break (0);
         end_badly_now ();
         return;
       }
-      if ((ntohl(bandwidth_in.value__) == 0) ||
-          (ntohl(bandwidth_out.value__) == 0))
-      {
-        GNUNET_break (0);
-        end_badly_now ();
-        return;
-      }
 
       if (0 == memcmp (address->address, first_suggestion->address,
           (first_suggestion->address_length < address->address_length) ? 
first_suggestion->address_length : address->address_length))




reply via email to

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