aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_connection_transmit_cancel.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-03-12 13:29:05 +0000
committerChristian Grothoff <christian@grothoff.org>2010-03-12 13:29:05 +0000
commita6f43190ab793b3487da2133735e166e337000c4 (patch)
treefc2dacc6a36f3ec04cf86a14cdea9c5bdf45274f /src/util/test_connection_transmit_cancel.c
parent61cfd3340e67672f351ab92dab7da72dca058c79 (diff)
downloadgnunet-a6f43190ab793b3487da2133735e166e337000c4.tar.gz
gnunet-a6f43190ab793b3487da2133735e166e337000c4.zip
cancel pending write if we are just dead anyway
Diffstat (limited to 'src/util/test_connection_transmit_cancel.c')
-rw-r--r--src/util/test_connection_transmit_cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_connection_transmit_cancel.c b/src/util/test_connection_transmit_cancel.c
index afdca68b5..bb5415d61 100644
--- a/src/util/test_connection_transmit_cancel.c
+++ b/src/util/test_connection_transmit_cancel.c
@@ -58,7 +58,7 @@ task_transmit_cancel (void *cls,
58 GNUNET_TIME_UNIT_MINUTES, 58 GNUNET_TIME_UNIT_MINUTES,
59 &not_run, cls); 59 &not_run, cls);
60 GNUNET_CONNECTION_notify_transmit_ready_cancel (th); 60 GNUNET_CONNECTION_notify_transmit_ready_cancel (th);
61 GNUNET_CONNECTION_destroy (csock); 61 GNUNET_CONNECTION_destroy (csock, GNUNET_YES);
62 *ok = 0; 62 *ok = 0;
63} 63}
64 64