-getting rid of silly, stupid, useless, often wrong DEFAULTCONFIG setting
[oweals/gnunet.git] / src / core / core_api_is_connected.c
index 2e56dffc8f17d329a108795dad8f17a1fc518273..2e01b3691560daaaf659d8235b6acf5c1d7af651 100644 (file)
@@ -204,7 +204,7 @@ GNUNET_CORE_is_peer_connected (const struct GNUNET_CONFIGURATION_Handle *cfg,
     GNUNET_CLIENT_notify_transmit_ready (client,
                                         sizeof (struct GNUNET_MessageHeader) +
                                         sizeof (struct GNUNET_PeerIdentity),
-                                        GNUNET_TIME_relative_get_forever (),
+                                        GNUNET_TIME_UNIT_FOREVER_REL,
                                         GNUNET_YES, &transmit_is_connected_request, cth);
   GNUNET_assert (NULL != cth->th);
   return cth;