gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r29604 - gnunet/src/ats
Date: Thu, 26 Sep 2013 14:08:14 +0200

Author: wachs
Date: 2013-09-26 14:08:14 +0200 (Thu, 26 Sep 2013)
New Revision: 29604

Modified:
   gnunet/src/ats/test_ats_api_performance_monitor_initial_callback.c
Log:
fixed test


Modified: gnunet/src/ats/test_ats_api_performance_monitor_initial_callback.c
===================================================================
--- gnunet/src/ats/test_ats_api_performance_monitor_initial_callback.c  
2013-09-26 11:51:36 UTC (rev 29603)
+++ gnunet/src/ats/test_ats_api_performance_monitor_initial_callback.c  
2013-09-26 12:08:14 UTC (rev 29604)
@@ -107,11 +107,11 @@
   static int peer1 = GNUNET_NO;
   static int done = GNUNET_NO;
 
-  if (0 == memcmp (address, &p[0].id, sizeof (p[0].id)))
+  if (0 == memcmp (&address->peer, &p[0].id, sizeof (p[0].id)))
   {
     peer0 ++;
   }
-  if ((GNUNET_NO == peer0) && (0 == memcmp (address, &p[1].id, sizeof 
(p[1].id))))
+  if (0 == memcmp (&address->peer, &p[1].id, sizeof (p[1].id)))
   {
     peer1 ++;
   }




reply via email to

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