handling replies continuously from server
[oweals/gnunet.git] / src / util / test_connection_transmit_cancel.c
index d81c32a6ca9d6eb37e05957e60c614081ef62eb9..fec72d273b2ec768e9687e4ed75601e47836cffc 100644 (file)
@@ -56,7 +56,7 @@ task_transmit_cancel (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
                                                 &not_run, cls);
   GNUNET_assert (NULL != th);
   GNUNET_CONNECTION_notify_transmit_ready_cancel (th);
-  GNUNET_CONNECTION_destroy (csock, GNUNET_YES);
+  GNUNET_CONNECTION_destroy (csock);
   *ok = 0;
 }