}
line->status = LS_CALLEE_CONNECTED;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Sending PICK_UP message to client with meta data `%s'\n",
+ "Sending PICK_UP message to mesh with meta data `%s'\n",
meta);
e = GNUNET_MQ_msg_extra (mppm,
len,
* @param cls the `struct Line` we are transmitting for
* @param size number of bytes available in @a buf
* @param buf where to copy the data
- * @return number of bytes copied to @buf
+ * @return number of bytes copied to @a buf
*/
static size_t
transmit_line_audio (void *cls,
pick->header.type = htons (GNUNET_MESSAGE_TYPE_CONVERSATION_CS_PHONE_PICKED_UP);
memcpy (&pick[1], metadata, len);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Sending PICK UP message via mesh with metadata `%s'\n",
+ "Sending PICKED UP message to client with metadata `%s'\n",
metadata);
GNUNET_SERVER_notification_context_unicast (nc,
line->client,
GNUNET_APPLICATION_TYPE_CONVERSATION_AUDIO,
GNUNET_YES,
GNUNET_NO);
+ if (NULL == line->tunnel_unreliable)
+ {
+ GNUNET_break (0);
+ }
return GNUNET_OK;
}
cfg = c;
GNUNET_assert (GNUNET_OK ==
- GNUNET_CRYPTO_get_host_identity (cfg,
+ GNUNET_CRYPTO_get_peer_identity (cfg,
&my_identity));
mesh = GNUNET_MESH_connect (cfg,
NULL,