diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-11-19 12:20:02 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-11-19 12:20:02 +0000 |
commit | c357ec97367708d372a3b8590241a751e7d40a88 (patch) | |
tree | 46bcd293c2292ba5753159b29c46f596cdb2d1a4 /src/dht/gnunet-service-dht.c | |
parent | 0e64a85a1c24499ee1bf4363cdaf882bdff1df0f (diff) | |
download | gnunet-c357ec97367708d372a3b8590241a751e7d40a88.tar.gz gnunet-c357ec97367708d372a3b8590241a751e7d40a88.zip |
Fix missing notify_cancel in dht service, dhtlog_dummy bad init return
Diffstat (limited to 'src/dht/gnunet-service-dht.c')
-rw-r--r-- | src/dht/gnunet-service-dht.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c index 2e27ba55b..692a8feb1 100644 --- a/src/dht/gnunet-service-dht.c +++ b/src/dht/gnunet-service-dht.c | |||
@@ -3799,6 +3799,9 @@ static void handle_client_disconnect (void *cls, | |||
3799 | 3799 | ||
3800 | if (found != NULL) | 3800 | if (found != NULL) |
3801 | { | 3801 | { |
3802 | if (found->transmit_handle != NULL) | ||
3803 | GNUNET_CONNECTION_notify_transmit_ready_cancel(found->transmit_handle); | ||
3804 | |||
3802 | while(NULL != (reply = found->pending_head)) | 3805 | while(NULL != (reply = found->pending_head)) |
3803 | { | 3806 | { |
3804 | GNUNET_CONTAINER_DLL_remove(found->pending_head, found->pending_tail, reply); | 3807 | GNUNET_CONTAINER_DLL_remove(found->pending_head, found->pending_tail, reply); |