eliminate last calls to GNUNET_CORE_peer_request_connect -- missed one
authorChristian Grothoff <christian@grothoff.org>
Wed, 5 Oct 2011 13:38:08 +0000 (13:38 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 5 Oct 2011 13:38:08 +0000 (13:38 +0000)
src/core/test_core_api_preferences.c

index 88aff2899be56eb0b0a7270ad63f06d93ffd1357..3aeb925726c12c655292d8c94054b804b577b671 100644 (file)
@@ -382,7 +382,7 @@ init_notify (void *cls, struct GNUNET_CORE_Handle *server,
     ask_task =
         GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS,
                                       &ask_connect_task, NULL);
-    GNUNET_CORE_peer_request_connect (p1.ch, &p2.id, NULL, NULL);
+    GNUNET_TRANSPORT_try_connect (p1.th, &p2.id);
   }
 }