aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-12-15 07:17:23 +0000
committerBart Polot <bart@net.in.tum.de>2014-12-15 07:17:23 +0000
commite613a26ba7015bb5964a6e7e782f0b1647657dca (patch)
tree921269c2ecbfd2c28851ed2dd4a5c4bac23298ed /src
parentb5e8a4847e1a0c64f4c27105543083e766477924 (diff)
downloadgnunet-e613a26ba7015bb5964a6e7e782f0b1647657dca.tar.gz
gnunet-e613a26ba7015bb5964a6e7e782f0b1647657dca.zip
- log
Diffstat (limited to 'src')
-rw-r--r--src/cadet/gnunet-service-cadet_tunnel.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c
index 93c111994..6dfc05be6 100644
--- a/src/cadet/gnunet-service-cadet_tunnel.c
+++ b/src/cadet/gnunet-service-cadet_tunnel.c
@@ -612,7 +612,7 @@ select_key (const struct CadetTunnel *t)
612 } 612 }
613 else 613 else
614 { 614 {
615 LOG (GNUNET_ERROR_TYPE_DEBUG, " using new key\n"); 615 LOG (GNUNET_ERROR_TYPE_DEBUG, " using new key (old key too old)\n");
616 key = &t->e_key; 616 key = &t->e_key;
617 } 617 }
618 } 618 }
@@ -903,10 +903,13 @@ finish_kx (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
903{ 903{
904 struct CadetTunnel *t = cls; 904 struct CadetTunnel *t = cls;
905 905
906 LOG (GNUNET_ERROR_TYPE_INFO, "finish KX for %s\n", GCT_2s (t));
907
906 if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) 908 if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN))
909 {
910 LOG (GNUNET_ERROR_TYPE_INFO, " shutdown\n");
907 return; 911 return;
908 912 }
909 LOG (GNUNET_ERROR_TYPE_INFO, "finish KX for %s\n", GCT_2s (t));
910 913
911 GNUNET_free (t->kx_ctx); 914 GNUNET_free (t->kx_ctx);
912 t->kx_ctx = NULL; 915 t->kx_ctx = NULL;