fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 19 Jul 2011 12:52:14 +0000 (12:52 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 19 Jul 2011 12:52:14 +0000 (12:52 +0000)
src/transport/gnunet-service-transport.c

index 13fd2452a5153a470a41063684352a7109050a6a..9fb2dc86804f9740426540e0a686c2015ef818b5 100644 (file)
@@ -6374,6 +6374,7 @@ void ats_result_cb ()
 }
 
 
+#if HAVE_LIBGLPK
 static void
 create_ats_information ( struct ATS_peer **p,
                         int * c_p,
@@ -6473,6 +6474,7 @@ create_ats_information ( struct ATS_peer **p,
   (*p) = peers;
   (*m) = mechanisms;
 }
+#endif
 
 
 static void
@@ -6711,7 +6713,7 @@ run (void *cls,
 #if HAVE_LIBGLPK
   ats = ats_init (D, U, R, v_b_min, v_n_min,
                   ATS_MAX_ITERATIONS, ATS_MAX_EXEC_DURATION,
-                  create_ats_information,
+                  &create_ats_information,
                   ats_result_cb);
 #endif