projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8080b12
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Fri, 30 Apr 2010 09:59:17 +0000
(09:59 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 30 Apr 2010 09:59:17 +0000
(09:59 +0000)
src/peerinfo/peerinfo_api.c
patch
|
blob
|
history
diff --git
a/src/peerinfo/peerinfo_api.c
b/src/peerinfo/peerinfo_api.c
index f857c4a776857568c1d385dbcf682c22524d8a96..e0806978b4c81b57841876c3f0dc8b3787a6b916 100644
(file)
--- a/
src/peerinfo/peerinfo_api.c
+++ b/
src/peerinfo/peerinfo_api.c
@@
-173,6
+173,11
@@
GNUNET_PEERINFO_disconnect (struct GNUNET_PEERINFO_Handle *h)
tqe->cont (tqe->cont_cls, GNUNET_SYSERR);
GNUNET_free (tqe);
}
+ if (h->th != NULL)
+ {
+ GNUNET_CLIENT_notify_transmit_ready_cancel (h->th);
+ h->th = NULL;
+ }
GNUNET_CLIENT_disconnect (h->client, GNUNET_NO);
GNUNET_free (h);
}