aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-02-26 11:37:38 +0000
committerChristian Grothoff <christian@grothoff.org>2010-02-26 11:37:38 +0000
commit5ef9019e953f758cbc6b325940fb63110c8c00bd (patch)
treed1b493eb6544855e8fc7cb7182259316de891b76 /src/fs/gnunet-service-fs.c
parenta87f456787c26f1387e37b404f5d1ce23ee17bd2 (diff)
downloadgnunet-5ef9019e953f758cbc6b325940fb63110c8c00bd.tar.gz
gnunet-5ef9019e953f758cbc6b325940fb63110c8c00bd.zip
fix
Diffstat (limited to 'src/fs/gnunet-service-fs.c')
-rw-r--r--src/fs/gnunet-service-fs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c
index afb28de13..926284123 100644
--- a/src/fs/gnunet-service-fs.c
+++ b/src/fs/gnunet-service-fs.c
@@ -605,11 +605,15 @@ destroy_pending_message (struct PendingMessage *pm,
605 GNUNET_PEER_Id tpid) 605 GNUNET_PEER_Id tpid)
606{ 606{
607 struct PendingMessageList *pml = pm->pml; 607 struct PendingMessageList *pml = pm->pml;
608 TransmissionContinuation cont;
609 void *cont_cls;
608 610
609 GNUNET_assert (pml->pm == pm); 611 GNUNET_assert (pml->pm == pm);
610 GNUNET_assert ( (tpid == 0) || (tpid == pml->target->pid) ); 612 GNUNET_assert ( (tpid == 0) || (tpid == pml->target->pid) );
611 pm->cont (pm->cont_cls, 0); 613 cont = pm->cont;
614 cont_cls = pm->cont_cls;
612 destroy_pending_message_list_entry (pml); 615 destroy_pending_message_list_entry (pml);
616 cont (cont_cls, 0);
613} 617}
614 618
615 619