gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r24182 - gnunet/src/ats
Date: Thu, 4 Oct 2012 15:16:25 +0200

Author: wachs
Date: 2012-10-04 15:16:25 +0200 (Thu, 04 Oct 2012)
New Revision: 24182

Modified:
   gnunet/src/ats/gnunet-service-ats_addresses_mlp.c
Log:
- fixes

Modified: gnunet/src/ats/gnunet-service-ats_addresses_mlp.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats_addresses_mlp.c   2012-10-04 12:55:26 UTC 
(rev 24181)
+++ gnunet/src/ats/gnunet-service-ats_addresses_mlp.c   2012-10-04 13:16:25 UTC 
(rev 24182)
@@ -824,7 +824,7 @@
   end = GNUNET_TIME_absolute_get ();
   duration = GNUNET_TIME_absolute_get_difference (start, end);
   mlp->lp_solved++;
-  mlp->lp_total_duration =+ duration.rel_value;
+  mlp->lp_total_duration += duration.rel_value;
   s_ctx->lp_duration = duration;
 
   GNUNET_STATISTICS_update (mlp->stats,"# LP problem solved", 1, GNUNET_NO);
@@ -901,7 +901,7 @@
   end = GNUNET_TIME_absolute_get ();
   duration = GNUNET_TIME_absolute_get_difference (start, end);
   mlp->mlp_solved++;
-  mlp->mlp_total_duration =+ duration.rel_value;
+  mlp->mlp_total_duration += duration.rel_value;
   s_ctx->mlp_duration = duration;
 
   GNUNET_STATISTICS_update (mlp->stats,"# MLP problem solved", 1, GNUNET_NO);
@@ -1725,8 +1725,8 @@
 {
   GNUNET_STATISTICS_update (mlp->stats,"# LP address preference changes", 1, 
GNUNET_NO);
 
-  struct ATS_Peer *p = mlp_find_peer (mlp, peer);
-  p = p;
+  //struct ATS_Peer *p = mlp_find_peer (mlp, peer);
+  //FIXME to finish implementation
   /* Here we have to do the matching */
 }
 




reply via email to

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