diff options
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/cadet_api.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 00a482452..4d923080a 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c | |||
@@ -1600,7 +1600,10 @@ GNUNET_CADET_open_port (struct GNUNET_CADET_Handle *h, | |||
1600 | 1600 | ||
1601 | GNUNET_assert (NULL != connects); | 1601 | GNUNET_assert (NULL != connects); |
1602 | GNUNET_assert (NULL != disconnects); | 1602 | GNUNET_assert (NULL != disconnects); |
1603 | 1603 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | |
1604 | "Listening to CADET port %s\n", | ||
1605 | GNUNET_h2s (port)); | ||
1606 | |||
1604 | p = GNUNET_new (struct GNUNET_CADET_Port); | 1607 | p = GNUNET_new (struct GNUNET_CADET_Port); |
1605 | p->cadet = h; | 1608 | p->cadet = h; |
1606 | p->id = *port; | 1609 | p->id = *port; |
@@ -1663,6 +1666,10 @@ GNUNET_CADET_channel_create (struct GNUNET_CADET_Handle *h, | |||
1663 | struct GNUNET_MQ_Envelope *env; | 1666 | struct GNUNET_MQ_Envelope *env; |
1664 | 1667 | ||
1665 | GNUNET_assert (NULL != disconnects); | 1668 | GNUNET_assert (NULL != disconnects); |
1669 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
1670 | "Creating channel to peer %s at port %s\n", | ||
1671 | GNUNET_i2s (destination), | ||
1672 | GNUNET_h2s (port)); | ||
1666 | ch = create_channel (h, | 1673 | ch = create_channel (h, |
1667 | NULL); | 1674 | NULL); |
1668 | ch->ctx = channel_cls; | 1675 | ch->ctx = channel_cls; |