int has_addr;
if (err_msg != NULL)
- {
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- _("Error in communication with PEERINFO service:\n `%s'"), err_msg);
- return;
- }
-
+ {
+ GNUNET_assert (NULL == peer);
+ pitr = NULL;
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ _("Error in communication with PEERINFO service: %s\n"),
+ err_msg);
+ return;
+ }
if (peer == NULL)
{
pitr = NULL;
"Asked core to transmit advertisement message with a size of %u bytes to peer `%s'\n",
size,GNUNET_i2s(peer));
if (NULL == GNUNET_CORE_notify_transmit_ready (core,
+ GNUNET_YES,
0,
GNUNET_ADV_TIMEOUT,
peer,