From: Matthias Wachs Date: Tue, 30 Nov 2010 17:03:18 +0000 (+0000) Subject: (no commit message) X-Git-Tag: initial-import-from-subversion-38251~19580 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6075973b278f72f81de967c978706e80d6b79978;p=oweals%2Fgnunet.git --- diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c index 6ac64260b..3d35f8d0b 100644 --- a/src/transport/transport_api.c +++ b/src/transport/transport_api.c @@ -1597,11 +1597,17 @@ demultiplexer (void *cls, const struct GNUNET_MessageHeader *msg) GNUNET_break (0); return; } + fprintf(stderr,"transport_api GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT ats_count %u\n",ntohl (cim->ats_count)); n->is_connected = GNUNET_YES; if (h->nc_cb != NULL) + h->nc_cb (h->cls, &n->id, + NULL, + 0); + + /* FIX if (h->nc_cb != NULL) h->nc_cb (h->cls, &n->id, &(cim->ats), - ntohl (cim->ats_count)); + ntohl (cim->ats_count));*/ break; case GNUNET_MESSAGE_TYPE_TRANSPORT_DISCONNECT: if (size != sizeof (struct DisconnectInfoMessage)) @@ -1697,11 +1703,17 @@ demultiplexer (void *cls, const struct GNUNET_MessageHeader *msg) GNUNET_break (0); return; } + fprintf(stderr,"transport_api GNUNET_MESSAGE_TYPE_TRANSPORT_RECV ats_count %u\n",ntohl (im->ats_count)); if (h->rec != NULL) + h->rec (h->cls, &im->peer, + imm, + NULL, + 0); + /* FIX h->rec (h->cls, &im->peer, imm, &im->ats, - ntohl (im->ats_count)); + ntohl (im->ats_count));*/ break; default: GNUNET_log (GNUNET_ERROR_TYPE_ERROR,