aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport_api.c')
-rw-r--r--src/transport/transport_api.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c
index bd9e11270..347842e52 100644
--- a/src/transport/transport_api.c
+++ b/src/transport/transport_api.c
@@ -1623,7 +1623,7 @@ demultiplexer (void *cls, const struct GNUNET_MessageHeader *msg)
1623 "Receiving `%s' message for `%4s'.\n", 1623 "Receiving `%s' message for `%4s'.\n",
1624 "CONNECT", GNUNET_i2s (&cim->id)); 1624 "CONNECT", GNUNET_i2s (&cim->id));
1625#endif 1625#endif
1626 if (find_neighbour(h, &cim->id) == NULL) 1626 if (NULL == (n = find_neighbour(h, &cim->id)))
1627 { 1627 {
1628#if DEBUG_TRANSPORT 1628#if DEBUG_TRANSPORT
1629 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1629 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -1636,11 +1636,10 @@ demultiplexer (void *cls, const struct GNUNET_MessageHeader *msg)
1636 else 1636 else
1637 { 1637 {
1638#if DEBUG_TRANSPORT 1638#if DEBUG_TRANSPORT
1639 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1639 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1640 "Do know neighbor, scheduling transmission!\n"); 1640 "Do know neighbor, scheduling transmission!\n");
1641#endif 1641#endif
1642 n = find_neighbour(h, &cim->id); 1642 n->received_ack = GNUNET_YES;
1643 n->received_ack = GNUNET_YES;
1644 if (NULL != n->transmit_handle) 1643 if (NULL != n->transmit_handle)
1645 { 1644 {
1646#if DEBUG_TRANSPORT 1645#if DEBUG_TRANSPORT