(no commit message)
authorMatthias Wachs <wachs@net.in.tum.de>
Thu, 24 Mar 2011 11:59:04 +0000 (11:59 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Thu, 24 Mar 2011 11:59:04 +0000 (11:59 +0000)
src/transport/gnunet-service-transport.c
src/transport/transport.h

index bb20fb6123dbe65b72c87f448023a734f3db26b0..2c2dc6ee2d6f246b5244fb8182df158285fca6ad 100644 (file)
@@ -5566,7 +5566,7 @@ struct ATS_transports
 
 #define FUNCTION ats_create_problem (int peers, int transports, double b_min, double b_max, double r, double R, const struct ATS_peer * pl, const struct ATS_transports * tl, int max_it, int max_dur)
 
-
+#if HAVE_LIBGLPK
 glp_prob * FUNCTION
 {
        int result = GLP_UNDEF;
@@ -5781,7 +5781,6 @@ glp_prob * FUNCTION
        GNUNET_free(options);
        return lp;
 }
-#if HAVE_LIBGLPK
 #else
 void * FUNCTION
 {
index 314a5c2bfabc18561a16b48ff5871cfc6d320db5..926d999610c6476a4d3cf30db4377ade1ffc754e 100644 (file)
@@ -39,6 +39,9 @@
 struct ATS_info
 {
        struct GNUNET_CONTAINER_MultiHashMap * peers;
+       /**
+        * Time of last execution
+        */
        struct GNUNET_TIME_Absolute last;
        /**
         * Minimum intervall between two executions