gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r29765 - gnunet/src/ats
Date: Tue, 1 Oct 2013 15:24:52 +0200

Author: oehlmann
Date: 2013-10-01 15:24:52 +0200 (Tue, 01 Oct 2013)
New Revision: 29765

Modified:
   gnunet/src/ats/gnunet-service-ats-solver_ril.c
Log:
ats_ril: fix bug in address indexing when changing address

Modified: gnunet/src/ats/gnunet-service-ats-solver_ril.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats-solver_ril.c      2013-10-01 13:16:35 UTC 
(rev 29764)
+++ gnunet/src/ats/gnunet-service-ats-solver_ril.c      2013-10-01 13:24:52 UTC 
(rev 29765)
@@ -797,7 +797,7 @@
   default:
     if ((action >= RIL_ACTION_TYPE_NUM) && (action < agent->n))
     {
-      address_index = agent->n - RIL_ACTION_TYPE_NUM;
+      address_index = action - RIL_ACTION_TYPE_NUM;
 
       GNUNET_assert(address_index >= 0);
       GNUNET_assert(




reply via email to

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