GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"%p Client connected as host to place %s.\n",
- hst, GNUNET_h2s (&plc->pub_key_hash));
+ hst, &plc->pub_key_hash);
struct ClientListItem *cli = GNUNET_new (struct ClientListItem);
cli->client = client;
timeout (void *cls)
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "timeout()\n");
- disconnect ();
+ //disconnect ();
}
static void
schedule_success (void *cls)
{
ret = 0;
- disconnect ();
+ //disconnect ();
}
static void
schedule_fail (void *cls)
{
- disconnect ();
+ //disconnect ();
}
uint64_t max_message_id)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Guest reconnected.\n");
+ "Guest reconnected to place %s.\n", GNUNET_CRYPTO_eddsa_public_key_to_string(place_pub_key));
if (op_guest_leave) {
guest_leave ();
* Application handle.
* @param ego
* Identity of the host.
- * @param place_key
- * Private-public key pair of the place.
- * NULL to generate a key.
* @param policy
* Policy specifying entry and history restrictions for the place.
* @param slicer
* @param cls
* Closure for the callbacks.
*
- * @return Handle for the host.
+ * @return Handle for the host. This handle contains the pubkey.
*/
struct GNUNET_SOCIAL_Host *
GNUNET_SOCIAL_host_enter (const struct GNUNET_SOCIAL_App *app,