* @param fwd Is this message fwd?
*/
static void
-handle_GMT_decrypted (struct MeshTunnel3 *t,
+handle_decrypted (struct MeshTunnel3 *t,
const struct GNUNET_MessageHeader *msgh,
int fwd)
{
* for every message.
*
* @param t Tunnel this message came on.
- * @param msgh Encrypted message.
+ * @param msg Encrypted message.
* @param fwd Is this message fwd?
*/
void
while (off < payload_size)
{
msgh = (struct GNUNET_MessageHeader *) &cbuf[off];
- handle_GMT_decrypted (t, msgh, fwd);
+ handle_decrypted (t, msgh, fwd);
off += ntohs (msgh->size);
}
}
unsigned int cs;
unsigned int buffer;
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Tunnel send %s ACKs on %s\n",
- fwd ? "FWD" : "BCK", GMT_2s (t));
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Tunnel send %s ACKs on %s\n",
+ fwd ? "FWD" : "BCK", GMT_2s (t));
if (NULL == t)
{
return;
}
if (NULL == t->channel_head ||
- GNUNET_NO == GMCH_is_origin (t->channel_head->ch, fwd))
+ GNUNET_NO == GMCH_is_origin (t->channel_head->ch, !fwd))
{
GNUNET_break (0);
return;