aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-11-30 17:44:36 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-11-30 17:44:36 +0000
commit756d8963c980e9284af305fcf8405c2cfabb55c4 (patch)
treeacf6093da7f3c6a9f8761489a808a730270f4e69 /src/transport/transport_api.c
parent2e668ea0972cdf91b82ad52ce086df8e42ee04bf (diff)
downloadgnunet-756d8963c980e9284af305fcf8405c2cfabb55c4.tar.gz
gnunet-756d8963c980e9284af305fcf8405c2cfabb55c4.zip
Diffstat (limited to 'src/transport/transport_api.c')
-rw-r--r--src/transport/transport_api.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c
index 23f8c71a7..110dfac41 100644
--- a/src/transport/transport_api.c
+++ b/src/transport/transport_api.c
@@ -1681,13 +1681,12 @@ demultiplexer (void *cls, const struct GNUNET_MessageHeader *msg)
1681 return; 1681 return;
1682 } 1682 }
1683 fprintf(stderr,"transport_api GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT ats_count %u\n",ntohl (cim->ats_count)); 1683 fprintf(stderr,"transport_api GNUNET_MESSAGE_TYPE_TRANSPORT_CONNECT ats_count %u\n",ntohl (cim->ats_count));
1684 n->is_connected = GNUNET_YES; 1684 n->is_connected = GNUNET_YES;
1685 if (h->nc_cb != NULL) 1685 if (h->nc_cb != NULL)
1686 h->nc_cb (h->cls, &n->id, 1686 h->nc_cb (h->cls, &n->id,
1687 NULL, 1687 NULL,
1688 0); 1688 0);
1689 1689 /* if (h->nc_cb != NULL)
1690 /* FIX if (h->nc_cb != NULL)
1691 h->nc_cb (h->cls, &n->id, 1690 h->nc_cb (h->cls, &n->id,
1692 &(cim->ats), 1691 &(cim->ats),
1693 ntohl (cim->ats_count));*/ 1692 ntohl (cim->ats_count));*/
@@ -1787,13 +1786,13 @@ demultiplexer (void *cls, const struct GNUNET_MessageHeader *msg)
1787 return; 1786 return;
1788 } 1787 }
1789 fprintf(stderr,"transport_api GNUNET_MESSAGE_TYPE_TRANSPORT_RECV ats_count %u\n",ntohl (im->ats_count)); 1788 fprintf(stderr,"transport_api GNUNET_MESSAGE_TYPE_TRANSPORT_RECV ats_count %u\n",ntohl (im->ats_count));
1790 if (h->rec != NULL) 1789 if (h->rec != NULL)
1791 h->rec (h->cls, &im->peer, 1790 h->rec (h->cls, &im->peer,
1792 imm, 1791 imm,
1793 NULL, 1792 NULL,
1794 0); 1793 0);
1795 /* FIX 1794
1796 h->rec (h->cls, &im->peer, 1795 /*h->rec (h->cls, &im->peer,
1797 imm, 1796 imm,
1798 &im->ats, 1797 &im->ats,
1799 ntohl (im->ats_count));*/ 1798 ntohl (im->ats_count));*/