consensus: destroy set handles
[oweals/gnunet.git] / src / psyc / psyc_api.c
index d744e7d08794aea43dbe5038d182f39bb2690c53..c6544df3aeda2cf74284429fed5a6580a4d013af 100644 (file)
@@ -598,7 +598,7 @@ channel_disconnect (struct GNUNET_PSYC_Channel *chn,
     struct GNUNET_MQ_Envelope *env = GNUNET_MQ_get_last_envelope (chn->mq);
     if (NULL != env)
     {
-      GNUNET_MQ_notify_sent (env, (GNUNET_MQ_NotifyCallback) channel_cleanup, chn);
+      GNUNET_MQ_notify_sent (env, (GNUNET_SCHEDULER_TaskCallback) channel_cleanup, chn);
     }
     else
     {