summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-10 18:14:55 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-10 18:14:55 +0100
commitcfb50789b9cbb6849ec3af360cc3e8b31b0c69a0 (patch)
treedafb7993155b2df2ba9cc6dbf28a98458b75f5de
parent1bd62e9572fd9ad84ea7c5af0f2a5960e3d03d94 (diff)
use correct channel when switching
-rw-r--r--src/pt/gnunet-daemon-pt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pt/gnunet-daemon-pt.c b/src/pt/gnunet-daemon-pt.c
index 54556cc52..9bd1fb16b 100644
--- a/src/pt/gnunet-daemon-pt.c
+++ b/src/pt/gnunet-daemon-pt.c
@@ -1015,7 +1015,7 @@ cadet_channel_end_cb (void *cls,
GNUNET_CONTAINER_DLL_insert (alt->receive_queue_head,
alt->receive_queue_tail,
rc);
- GNUNET_MQ_send (GNUNET_CADET_get_mq (exit->cadet_channel),
+ GNUNET_MQ_send (GNUNET_CADET_get_mq (alt->cadet_channel),
GNUNET_MQ_env_copy (rc->env));
}
try_open_exit ();