aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-service-fs_cp.c')
-rw-r--r--src/fs/gnunet-service-fs_cp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fs/gnunet-service-fs_cp.c b/src/fs/gnunet-service-fs_cp.c
index 2522cbe7b..acad54501 100644
--- a/src/fs/gnunet-service-fs_cp.c
+++ b/src/fs/gnunet-service-fs_cp.c
@@ -704,9 +704,9 @@ copy_reply (void *cls,
704 704
705 705
706/** 706/**
707 * Free the given client request. 707 * Free the given request.
708 * 708 *
709 * @param cls the client request to free 709 * @param cls the request to free
710 * @param tc task context 710 * @param tc task context
711 */ 711 */
712static void 712static void
@@ -1182,6 +1182,7 @@ GSF_handle_p2p_query_ (const struct GNUNET_PeerIdentity *other,
1182 NULL, 0, /* replies_seen */ 1182 NULL, 0, /* replies_seen */
1183 &handle_p2p_reply, 1183 &handle_p2p_reply,
1184 peerreq); 1184 peerreq);
1185 GNUNET_assert (NULL != pr);
1185 peerreq->pr = pr; 1186 peerreq->pr = pr;
1186 GNUNET_break (GNUNET_OK == 1187 GNUNET_break (GNUNET_OK ==
1187 GNUNET_CONTAINER_multihashmap_put (cp->request_map, 1188 GNUNET_CONTAINER_multihashmap_put (cp->request_map,
@@ -1427,7 +1428,7 @@ cancel_pending_request (void *cls,
1427 const GNUNET_HashCode *query, 1428 const GNUNET_HashCode *query,
1428 void *value) 1429 void *value)
1429{ 1430{
1430 struct PeerRequest *peerreq = cls; 1431 struct PeerRequest *peerreq = value;
1431 struct GSF_PendingRequest *pr = peerreq->pr; 1432 struct GSF_PendingRequest *pr = peerreq->pr;
1432 1433
1433 GSF_pending_request_cancel_ (pr); 1434 GSF_pending_request_cancel_ (pr);