diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-26 16:27:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-26 16:27:05 +0000 |
commit | bf4a9d8364675b34ac18d505e508006e2b773670 (patch) | |
tree | a3bf1d6965c9f7fa4215d2377949f950b71ba087 /src/fs/gnunet-service-fs_cp.c | |
parent | 661869cea600301846e9d78475c8c3b4dbde225a (diff) | |
download | gnunet-bf4a9d8364675b34ac18d505e508006e2b773670.tar.gz gnunet-bf4a9d8364675b34ac18d505e508006e2b773670.zip |
fixing fs
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.c')
-rw-r--r-- | src/fs/gnunet-service-fs_cp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c index f09516693..ea8a84dfe 100644 --- a/src/fs/gnunet-service-fs_cp.c +++ b/src/fs/gnunet-service-fs_cp.c | |||
@@ -811,7 +811,7 @@ cancel_pending_request (void *cls, | |||
811 | GNUNET_CONTAINER_multihashmap_remove (cp->request_map, | 811 | GNUNET_CONTAINER_multihashmap_remove (cp->request_map, |
812 | &prd->query, | 812 | &prd->query, |
813 | peerreq)); | 813 | peerreq)); |
814 | GSF_pending_request_cancel_ (pr); | 814 | GSF_pending_request_cancel_ (pr, GNUNET_NO); |
815 | GNUNET_free (peerreq); | 815 | GNUNET_free (peerreq); |
816 | return GNUNET_OK; | 816 | return GNUNET_OK; |
817 | } | 817 | } |
@@ -1368,7 +1368,7 @@ GSF_handle_p2p_query_ (const struct GNUNET_PeerIdentity *other, | |||
1368 | -1, | 1368 | -1, |
1369 | GNUNET_NO); | 1369 | GNUNET_NO); |
1370 | priority += prd->priority; | 1370 | priority += prd->priority; |
1371 | GSF_pending_request_cancel_ (pr); | 1371 | GSF_pending_request_cancel_ (pr, GNUNET_YES); |
1372 | GNUNET_assert (GNUNET_YES == | 1372 | GNUNET_assert (GNUNET_YES == |
1373 | GNUNET_CONTAINER_multihashmap_remove (cp->request_map, | 1373 | GNUNET_CONTAINER_multihashmap_remove (cp->request_map, |
1374 | &gm->query, | 1374 | &gm->query, |