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:
592e1b7
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Fri, 8 Oct 2010 16:14:31 +0000
(16:14 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 8 Oct 2010 16:14:31 +0000
(16:14 +0000)
src/fs/gnunet-service-fs.c
patch
|
blob
|
history
diff --git
a/src/fs/gnunet-service-fs.c
b/src/fs/gnunet-service-fs.c
index 5118cb56cd61ba8c5dcbb9c9c8604cdbef191b9d..0f603651ea4bfc0680831763f5814c65edae62ac 100644
(file)
--- a/
src/fs/gnunet-service-fs.c
+++ b/
src/fs/gnunet-service-fs.c
@@
-2016,11
+2016,13
@@
transmit_to_peer (void *cls,
memcpy (&cbuf[msize], &pm[1], pm->msize);
msize += pm->msize;
size -= pm->msize;
- GNUNET_CONTAINER_DLL_remove (cp->pending_messages_head,
- cp->pending_messages_tail,
- pm);
if (NULL == pm->pml)
- cp->pending_requests--;
+ {
+ GNUNET_CONTAINER_DLL_remove (cp->pending_messages_head,
+ cp->pending_messages_tail,
+ pm);
+ cp->pending_requests--;
+ }
destroy_pending_message (pm, cp->pid);
}
if (pm != NULL)