From: Matthias Wachs Date: Thu, 24 Mar 2011 11:59:04 +0000 (+0000) Subject: (no commit message) X-Git-Tag: initial-import-from-subversion-38251~18928 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f56d94ad72b3a2b80226654c66dc94ebca2b057;p=oweals%2Fgnunet.git --- diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index bb20fb612..2c2dc6ee2 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c @@ -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 { diff --git a/src/transport/transport.h b/src/transport/transport.h index 314a5c2bf..926d99961 100644 --- a/src/transport/transport.h +++ b/src/transport/transport.h @@ -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