else
GNUNET_assert (0);
ccc->client_ready = GNUNET_YES;
- LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Got LOCAL_ACK, client ready to receive more data!\n");
com = ccc->head_recv;
if (NULL == com)
+ {
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Got LOCAL_ACK, %s-%X ready to receive more data (but none pending)!\n",
+ GSC_2s (ccc->c),
+ ntohl (ccc->ccn.channel_of_client));
return; /* none pending */
+ }
if ( (com->mid.mid != ch->mid_recv.mid) &&
(GNUNET_NO == ch->out_of_order) )
return; /* missing next one in-order */
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Passing payload message to client on %s\n",
+ "Got LOCAL ACK, passing payload message to %s-%X on %s\n",
+ GSC_2s (ccc->c),
+ ntohl (ccc->ccn.channel_of_client),
GCCH_2s (ch));
/* all good, pass next message to client */
{
/* no messages pending right now */
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Not sending payload of tunnel %s on ready connection %s (nothing pending)\n",
+ "Not sending payload of %s on ready %s (nothing pending)\n",
GCT_2s (t),
GCC_2s (ct->cc));
return;
*tq->cid = *GCC_get_id (ct->cc);
ct->is_ready = GNUNET_NO;
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Sending payload of tunnel %s on connection %s\n",
+ "Sending payload of %s on %s\n",
GCT_2s (t),
GCC_2s (ct->cc));
GCC_transmit (ct->cc,