aboutsummaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-10-08 16:14:31 +0000
committerChristian Grothoff <christian@grothoff.org>2010-10-08 16:14:31 +0000
commite95b43b9a59a32142c4b3afd3212f0b4d3b8e6ad (patch)
tree6e7bce47c937b248eea8bd0c507109c216b1633b /src/fs
parent592e1b7a112512b7b13384246030e17b9a13e32f (diff)
downloadgnunet-e95b43b9a59a32142c4b3afd3212f0b4d3b8e6ad.tar.gz
gnunet-e95b43b9a59a32142c4b3afd3212f0b4d3b8e6ad.zip
fix
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/gnunet-service-fs.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c
index 5118cb56c..0f603651e 100644
--- a/src/fs/gnunet-service-fs.c
+++ b/src/fs/gnunet-service-fs.c
@@ -2016,11 +2016,13 @@ transmit_to_peer (void *cls,
2016 memcpy (&cbuf[msize], &pm[1], pm->msize); 2016 memcpy (&cbuf[msize], &pm[1], pm->msize);
2017 msize += pm->msize; 2017 msize += pm->msize;
2018 size -= pm->msize; 2018 size -= pm->msize;
2019 GNUNET_CONTAINER_DLL_remove (cp->pending_messages_head,
2020 cp->pending_messages_tail,
2021 pm);
2022 if (NULL == pm->pml) 2019 if (NULL == pm->pml)
2023 cp->pending_requests--; 2020 {
2021 GNUNET_CONTAINER_DLL_remove (cp->pending_messages_head,
2022 cp->pending_messages_tail,
2023 pm);
2024 cp->pending_requests--;
2025 }
2024 destroy_pending_message (pm, cp->pid); 2026 destroy_pending_message (pm, cp->pid);
2025 } 2027 }
2026 if (pm != NULL) 2028 if (pm != NULL)