From: Bart Polot Date: Wed, 30 Mar 2016 09:17:57 +0000 (+0000) Subject: - fix condition on connection timeout X-Git-Tag: initial-import-from-subversion-38251~985 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4d1dc9916ce5618a7522b89244b034a34680c03b;p=oweals%2Fgnunet.git - fix condition on connection timeout --- diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index 0827f53ec..186204f1e 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c @@ -1564,7 +1564,7 @@ connection_timeout (struct CadetConnection *c, int fwd) } /* If dest, salvage queued traffic. */ - if (GCC_is_origin (c, !fwd)) + if (GCC_is_terminal (c, fwd)) { const struct GNUNET_PeerIdentity *next_hop;